head 1.26; access; symbols pkgsrc-2013Q2:1.26.0.32 pkgsrc-2013Q2-base:1.26 pkgsrc-2012Q4:1.26.0.30 pkgsrc-2012Q4-base:1.26 pkgsrc-2011Q4:1.26.0.28 pkgsrc-2011Q4-base:1.26 pkgsrc-2011Q2:1.26.0.26 pkgsrc-2011Q2-base:1.26 pkgsrc-2009Q4:1.26.0.24 pkgsrc-2009Q4-base:1.26 pkgsrc-2008Q4:1.26.0.22 pkgsrc-2008Q4-base:1.26 pkgsrc-2008Q3:1.26.0.20 pkgsrc-2008Q3-base:1.26 cube-native-xorg:1.26.0.18 cube-native-xorg-base:1.26 pkgsrc-2008Q2:1.26.0.16 pkgsrc-2008Q2-base:1.26 pkgsrc-2008Q1:1.26.0.14 pkgsrc-2008Q1-base:1.26 pkgsrc-2007Q4:1.26.0.12 pkgsrc-2007Q4-base:1.26 pkgsrc-2007Q3:1.26.0.10 pkgsrc-2007Q3-base:1.26 pkgsrc-2007Q2:1.26.0.8 pkgsrc-2007Q2-base:1.26 pkgsrc-2007Q1:1.26.0.6 pkgsrc-2007Q1-base:1.26 pkgsrc-2006Q4:1.26.0.4 pkgsrc-2006Q4-base:1.26 pkgsrc-2006Q3:1.26.0.2 pkgsrc-2006Q3-base:1.26 pkgsrc-2006Q2:1.25.0.6 pkgsrc-2006Q2-base:1.25 pkgsrc-2006Q1:1.25.0.4 pkgsrc-2006Q1-base:1.25 pkgsrc-2005Q4:1.25.0.2 pkgsrc-2005Q4-base:1.25 pkgsrc-2005Q3:1.22.0.4 pkgsrc-2005Q3-base:1.22 pkgsrc-2005Q2:1.22.0.2 pkgsrc-2005Q2-base:1.22 pkgsrc-2005Q1:1.20.0.2 pkgsrc-2005Q1-base:1.20 pkgsrc-2004Q4:1.19.0.2 pkgsrc-2004Q4-base:1.19 pkgsrc-2004Q3:1.18.0.2 pkgsrc-2004Q3-base:1.18 pkgsrc-2004Q2:1.10.0.2 pkgsrc-2004Q2-base:1.10 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.26 date 2006.09.27.15.18.14; author joerg; state dead; branches; next 1.25; 1.25 date 2005.12.08.09.17.21; author rillig; state Exp; branches; next 1.24; 1.24 date 2005.12.05.20.50.37; author rillig; state Exp; branches; next 1.23; 1.23 date 2005.09.28.19.20.30; author rillig; state Exp; branches; next 1.22; 1.22 date 2005.05.23.09.30.32; author rillig; state Exp; branches; next 1.21; 1.21 date 2005.05.22.20.08.14; author jlam; state Exp; branches; next 1.20; 1.20 date 2005.02.09.20.11.22; author xtraeme; state Exp; branches; next 1.19; 1.19 date 2004.11.07.12.57.37; author markd; state Exp; branches; next 1.18; 1.18 date 2004.08.27.06.29.08; author jlam; state Exp; branches; next 1.17; 1.17 date 2004.08.16.12.30.04; author kristerw; state Exp; branches; next 1.16; 1.16 date 2004.07.30.08.24.20; author xtraeme; state Exp; branches; next 1.15; 1.15 date 2004.07.30.07.48.56; author xtraeme; state Exp; branches; next 1.14; 1.14 date 2004.07.29.08.59.15; author xtraeme; state Exp; branches; next 1.13; 1.13 date 2004.07.21.23.49.36; author xtraeme; state Exp; branches; next 1.12; 1.12 date 2004.07.21.21.40.17; author xtraeme; state Exp; branches; next 1.11; 1.11 date 2004.07.20.22.23.25; author xtraeme; state Exp; branches; next 1.10; 1.10 date 2004.05.07.15.25.13; author cjep; state Exp; branches; next 1.9; 1.9 date 2004.04.27.21.49.57; author reed; state Exp; branches; next 1.8; 1.8 date 2004.04.17.11.10.53; author jmmv; state Exp; branches; next 1.7; 1.7 date 2004.04.14.21.15.01; author jmmv; state Exp; branches; next 1.6; 1.6 date 2004.03.29.00.30.17; author xtraeme; state Exp; branches; next 1.5; 1.5 date 2004.03.28.22.06.16; author xtraeme; state Exp; branches; next 1.4; 1.4 date 2004.02.07.18.47.07; author xtraeme; state Exp; branches; next 1.3; 1.3 date 2004.02.02.14.08.28; author xtraeme; state Exp; branches; next 1.2; 1.2 date 2004.01.31.19.08.47; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2004.01.24.08.52.28; author xtraeme; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.01.24.08.52.28; author xtraeme; state Exp; branches; next ; desc @@ 1.26 log @Remove XFree86. @ text @# $NetBSD: Makefile.common,v 1.25 2005/12/08 09:17:21 rillig Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. # XINCLUDE_DIRS is the group of directories under ${WRKSRC} that need # to be Makefilesed or included in besides XBUILD_DIRS # XINSTALL_DIRS is the group of directories which will have # their install targets run. # XINSTALL_MAN_DIRS is the group of directories which will have # their install.man targets run. # src-1 is the base. # src-2 contains various programs like bitmap, twm, xterm, xdm, xinit, ... # src-3 is xc/programs/Xserver/. # src-4 contains xc/fonts/{PEX,bdf/100dpi,bdf/75dpi,bdf/misc,encodings} # src-5 contains xc/fonts/scaled/{CID,Ethiopic,Meltho,Speedo,TTF,Type1} # src-6 contains the documentation source. # src-7 contains the hardcopy documentation. .if !defined(XFREE86_MAKEFILE_COMMON) XFREE86_MAKEFILE_COMMON= # defined .include "../../mk/bsd.prefs.mk" # # Manual page handling. # .if ${OPSYS} == "FreeBSD" . if ${LOWER_OPSYS_VERSUFFIX} == "4" XTHRSTUB_MINOR= '@@comment ' LIBXTHRSTUB= . else XTHRSTUB_MINOR= LIBXTHRSTUB= '@@comment ' . endif XF86RUSH= '@@comment ' IMAKE_MANTOOLS= LIBDRI= MANSOURCEPATH= man/man MAN_DIR= ${MANSOURCEPATH}1 LIBMAN_DIR= ${MANSOURCEPATH}3 KERNMAN_DIR= ${MANSOURCEPATH}4 FILEMAN_DIR= ${MANSOURCEPATH}5 MISCMAN_DIR= ${MANSOURCEPATH}7 MAN_SUFFIX= 1 LIBMAN_SUFFIX= 3 KERNMAN_SUFFIX= 4 FILEMAN_SUFFIX= 5 MISCMAN_SUFFIX= 7 .elif ${OPSYS} == "SunOS" XF86RUSH= '@@comment ' IMAKE_MANTOOLS= LIBDRI= '@@comment ' MANSOURCEPATH= man/man MAN_DIR= ${MANSOURCEPATH}1 LIBMAN_DIR= ${MANSOURCEPATH}3 KERNMAN_DIR= ${MANSOURCEPATH}4 FILEMAN_DIR= ${MANSOURCEPATH}5 MISCMAN_DIR= ${MANSOURCEPATH}7 MAN_SUFFIX= 1x LIBMAN_SUFFIX= 3x KERNMAN_SUFFIX= 4 FILEMAN_SUFFIX= 5x MISCMAN_SUFFIX= 7 .elif ${OPSYS} == "Linux" XF86RUSH= USE_TOOLS+= gmake IMAKE_MANTOOLS= LIBDRI= MANSOURCEPATH= man/man MAN_DIR= ${MANSOURCEPATH}1 LIBMAN_DIR= ${MANSOURCEPATH}3 KERNMAN_DIR= ${MANSOURCEPATH}4 FILEMAN_DIR= ${MANSOURCEPATH}5 MISCMAN_DIR= ${MANSOURCEPATH}7 MAN_SUFFIX= 1x LIBMAN_SUFFIX= 3x KERNMAN_SUFFIX= 4 FILEMAN_SUFFIX= 5x MISCMAN_SUFFIX= 7 .elif ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" XF86RUSH= '@@comment ' IMAKE_MANTOOLS= '@@comment ' LIBDRI= '@@comment ' MANSOURCEPATH= man/cat MAN_DIR= ${MANSOURCEPATH}1 LIBMAN_DIR= ${MANSOURCEPATH}3 KERNMAN_DIR= ${MANSOURCEPATH}4 FILEMAN_DIR= ${MANSOURCEPATH}5 MISCMAN_DIR= ${MANSOURCEPATH}7 MAN_SUFFIX= 0 LIBMAN_SUFFIX= ${MAN_SUFFIX} KERNMAN_SUFFIX= ${MAN_SUFFIX} FILEMAN_SUFFIX= ${MAN_SUFFIX} MISCMAN_SUFFIX= ${MAN_SUFFIX} .endif # NetBSD .if !defined(XFREE86_ONLY_DIRS) || empty(XFREE86_ONLY_DIRS:M[Yy][Ee][Ss]) PLIST_SUBST+= XTHRSTUB_MINOR=${XTHRSTUB_MINOR} PLIST_SUBST+= LIBXTHRSTUB=${LIBXTHRSTUB} PLIST_SUBST+= XF86RUSH=${XF86RUSH} PLIST_SUBST+= IMAKE_MANTOOLS=${IMAKE_MANTOOLS} PLIST_SUBST+= LIBDRI=${LIBDRI} PLIST_SUBST+= MAN_DIR=${MAN_DIR:Q} PLIST_SUBST+= LIBMAN_DIR=${LIBMAN_DIR:Q} PLIST_SUBST+= MAN_SUFFIX=${MAN_SUFFIX:Q} PLIST_SUBST+= LIBMAN_SUFFIX=${LIBMAN_SUFFIX:Q} PLIST_SUBST+= KERNMAN_DIR=${KERNMAN_DIR:Q} PLIST_SUBST+= KERNMAN_SUFFIX=${KERNMAN_SUFFIX:Q} PLIST_SUBST+= FILEMAN_DIR=${FILEMAN_DIR:Q} PLIST_SUBST+= FILEMAN_SUFFIX=${FILEMAN_SUFFIX:Q} PLIST_SUBST+= MISCMAN_DIR=${MISCMAN_DIR:Q} PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX:Q} CHECK_X11_TYPE?= yes .if defined(CHECK_X11_TYPE) . if !defined(X11_TYPE) || empty(X11_TYPE:MXFree86) PKG_SKIP_REASON+= "X11_TYPE=XFree86 is mandatory." . endif .endif NO_MTREE= yes WRKSRC?= ${WRKDIR}/xc X11ROOT?= ${LOCALBASE}/${X11ROOT_PREFIX} PREPEND_PATH= ${X11ROOT}/bin # Make sure we have this in PATH :) PLIST_SUBST+= X11ROOT_PREFIX=${X11ROOT_PREFIX:Q} MESSAGE_SUBST+= X11ROOT=${X11ROOT} # # Any volunteer to test any platform not listed here? :) # ONLY_FOR_PLATFORM= FreeBSD-*-* Linux-*-* NetBSD-*-* OpenBSD-*-* SunOS-*-* MASTER_SITE_XFREE+= \ ftp://archive.progeny.com/XFree86/${XF_VER}/source/ \ http://ftp.mirrorcentral.com/pub/XFree86/${XF_VER}/source/ \ ftp://ftp.xfree86.org/pub/XFree86/${XF_VER}/source/ \ ftp://ftp.gwdg.de/pub/xfree86/XFree86/${XF_VER}/source/ \ ftp://ftp.free.fr/pub/XFree86/${XF_VER}/source/ XF_VER= 4.4.0 IMAKE= ${X11ROOT}/bin/imake XINSTALL_DIRS?= ${XBUILD_DIRS} _XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS} # # Operating Systems to pass our compiler options (CC, CXX, CPP, CFLAGS). # SYSTEMS= FreeBSD NetBSD OpenBSD linux sun .if !defined(NO_XFREE86_TARGETS) USE_LANGUAGES= c c++ . if !target(post-extract) GLOBAL_LDFLAGS= -L${LOCALBASE}/lib -L${X11ROOT}/lib \ ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib \ ${COMPILER_RPATH_FLAG}${X11BASE}/lib post-extract: @@${SED} \ -e "s|@@BLNK@@|${BUILDLINK_DIR}|g" \ -e "s|@@MAKE@@|${MAKE_PROGRAM}|g" \ -e "s|@@MAKE_PROGRAM@@|${MAKE_PROGRAM}|g" \ -e "s|@@IMAKE@@|${IMAKE}|g" \ -e "s|@@RMAN@@|${X11ROOT}/bin/rman|g" \ -e "s|@@MKHTMLINDEX@@|${X11ROOT}/bin/mkhtmlindex|g" \ -e "s|@@GCCMAKEDEP@@|${X11ROOT}/bin/gccmakedep|g" \ -e "s|@@MAKEDEPEND@@|${X11ROOT}/bin/makedepend|g" \ -e "s|@@REVPATH@@|${X11ROOT}/bin/revpath|g" \ -e "s|@@PREFIX@@|${X11ROOT}|g" \ -e "s|@@LOCALBASE@@|${LOCALBASE}|g" \ -e "s|@@LDFLAGS@@|${GLOBAL_LDFLAGS}|g" \ -e "s|@@WRKSRC@@|${WRKSRC}|g" \ -e "s|@@KERNMAN_SUFFIX@@|${KERNMAN_SUFFIX}|g" \ -e "s|@@MISCMAN_SUFFIX@@|${MISCMAN_SUFFIX}|g" \ -e "s|@@KERNMAN_DIR@@|${KERNMAN_DIR}|g" \ -e "s|@@MISCMAN_DIR@@|${MISCMAN_DIR}|g" \ ${FILESDIR}/host.def > ${WRKSRC}/config/cf/host.def @@${LN} -sf ${X11ROOT}/bin/gccmakedep ${WRKSRC}/config/util @@${LN} -sf ${X11ROOT}/bin/revpath ${WRKSRC}/config/util @@${LN} -sf ${X11ROOT}/bin/pswrap ${WRKSRC}/config/pswrap @@${LN} -sf ${X11ROOT}/lib/X11/config/version.def ${WRKSRC}/config/cf @@${LN} -sf ${X11ROOT}/lib/X11/config/date.def ${WRKSRC}/config/cf . if exists(${FILESDIR}/Wraphelp.c) @@${CP} ${FILESDIR}/Wraphelp.c ${WRKSRC}/lib/Xdmcp . endif . for F in ${SYSTEMS} @@${MV} ${WRKSRC}/config/cf/${F}.cf \ ${WRKSRC}/config/cf/${F}.cf.in . endfor . endif . if !target(pre-configure) pre-configure: . for F in ${SYSTEMS} @@${SED} -e "s|@@@@PKGSRC_CC@@@@|${CC}|g" \ -e "s|@@@@PKGSRC_CXX@@@@|${CXX}|g" \ -e "s|@@@@PKGSRC_CPP@@@@|${CPP}|g" \ -e "s|@@@@PKGSRC_CFLAGS@@@@|${CFLAGS:C/-I.*//}|g" \ -e "s|-I${LOCALBASE}/include||" \ -e "s|-I${X11BASE}/include||" \ ${WRKSRC}/config/cf/${F}.cf.in > \ ${WRKSRC}/config/cf/${F}.cf . endfor . endif . if !target(do-configure) do-configure: @@for dir in ${_XINCLUDE_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${IMAKE} \ -DTOPDIR=${WRKSRC} -DCURDIR=$${dir} \ -I${WRKSRC}/config/cf; \ done @@for dir in ${_XINCLUDE_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} Makefiles; \ done @@for dir in ${_XINCLUDE_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} includes; \ done @@for dir in include ${XBUILD_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} depend; \ done . endif . if !target(do-build) do-build: @@for dir in ${XBUILD_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} all; \ done . endif . if !target(do-install) do-install: @@for dir in ${XINSTALL_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} install; \ done @@for dir in ${XINSTALL_MAN_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${MAKE} install.man; \ done . endif .endif # !defined(NO_XFREE86_TARGETS) .endif # !defined(XFREE86_ONLY_DIRS) || empty(XFREE86_ONLY_DIRS:M[Yy][Ee][Ss]) .endif # !defined(XFREE86_MAKEFILE_COMMON) @ 1.25 log @Fixed PLIST quoting issue introduced by the recent "pkglint --autofix" change. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.24 2005/12/05 20:50:37 rillig Exp $ @ 1.24 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.23 2005/09/28 19:20:30 rillig Exp $ d107 5 a111 5 PLIST_SUBST+= XTHRSTUB_MINOR=${XTHRSTUB_MINOR:Q} PLIST_SUBST+= LIBXTHRSTUB=${LIBXTHRSTUB:Q} PLIST_SUBST+= XF86RUSH=${XF86RUSH:Q} PLIST_SUBST+= IMAKE_MANTOOLS=${IMAKE_MANTOOLS:Q} PLIST_SUBST+= LIBDRI=${LIBDRI:Q} @ 1.23 log @Fixed pkglint warnings. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.22 2005/05/23 09:30:32 rillig Exp $ d107 15 a121 15 PLIST_SUBST+= XTHRSTUB_MINOR=${XTHRSTUB_MINOR} PLIST_SUBST+= LIBXTHRSTUB=${LIBXTHRSTUB} PLIST_SUBST+= XF86RUSH=${XF86RUSH} PLIST_SUBST+= IMAKE_MANTOOLS=${IMAKE_MANTOOLS} PLIST_SUBST+= LIBDRI=${LIBDRI} PLIST_SUBST+= MAN_DIR=${MAN_DIR} PLIST_SUBST+= LIBMAN_DIR=${LIBMAN_DIR} PLIST_SUBST+= MAN_SUFFIX=${MAN_SUFFIX} PLIST_SUBST+= LIBMAN_SUFFIX=${LIBMAN_SUFFIX} PLIST_SUBST+= KERNMAN_DIR=${KERNMAN_DIR} PLIST_SUBST+= KERNMAN_SUFFIX=${KERNMAN_SUFFIX} PLIST_SUBST+= FILEMAN_DIR=${FILEMAN_DIR} PLIST_SUBST+= FILEMAN_SUFFIX=${FILEMAN_SUFFIX} PLIST_SUBST+= MISCMAN_DIR=${MISCMAN_DIR} PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX} d137 1 a137 1 PLIST_SUBST+= X11ROOT_PREFIX=${X11ROOT_PREFIX} a206 1 . undef F a221 1 . undef F @ 1.22 log @Removed trailing white-space. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.21 2005/05/22 20:08:14 jlam Exp $ d131 1 a131 1 NO_MTREE= # defined @ 1.21 log @Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.20 2005/02/09 20:11:22 xtraeme Exp $ d3 1 a3 1 # XBUILD_DIRS is the group of directories under ${WRKSRC} that will d7 1 a7 1 # XINSTALL_DIRS is the group of directories which will have d9 1 a9 1 # XINSTALL_MAN_DIRS is the group of directories which will have @ 1.20 log @Apply patch from Jeremy C. Reed to define common values for the manual pages on Linux. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.19 2004/11/07 12:57:37 markd Exp $ d71 1 a71 1 USE_GNU_TOOLS+= make @ 1.19 log @Add support for building XFree86 packages on Solaris. Claim to be using gcc always and assume that the wrapper framework will deal with the differences for other compilers (rather than getting imake to try and do it). @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.18 2004/08/27 06:29:08 jlam Exp $ d189 4 @ 1.18 log @Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG, which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} ", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.17 2004/08/16 12:30:04 kristerw Exp $ d51 17 d162 1 a162 1 SYSTEMS= FreeBSD NetBSD OpenBSD linux @ 1.17 log @Use PKG_SKIP_REASON so that bulk builds reports the packages as "unavailable" instead of "broken". @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.16 2004/07/30 08:24:20 xtraeme Exp $ d154 2 a155 2 ${_COMPILER_LD_FLAG}${RPATH_FLAG}${LOCALBASE}/lib \ ${_COMPILER_LD_FLAG}${RPATH_FLAG}${X11BASE}/lib @ 1.16 log @Define CHECK_X11_TYPE, which is needed to be sure that all packages will be installed into the proper location, otherwise X11ROOT_PREFIX might be empty! @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.15 2004/07/30 07:48:56 xtraeme Exp $ d110 1 a110 1 PKG_FAIL_REASON+= "X11_TYPE=XFree86 is mandatory." @ 1.15 log @Add a new variable to specify the installation prefix for X11 packages (currently XFree86 and xorg), X11ROOT_PREFIX. Defaults: xorg: X11ROOT_PREFIX = xorg. XFree86: X11ROOT_PREFIX = XFree86. Otherwise it's undefined. With this modification we don't have to specify X11BASE anymore, because it's assigned automatically via bsd.pkg.defaults.mk. If you want to change the defaults, specify X11ROOT_PREFIX in mk.conf. Update Packages.txt now that we don't need X11BASE. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.14 2004/07/29 08:59:15 xtraeme Exp $ d106 2 @ 1.14 log @Minor nits. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.13 2004/07/21 23:49:36 xtraeme Exp $ a113 1 X11ROOT_PREFIX?= X11R6 d115 1 a115 2 X11ROOT?= ${PREFIX}/${X11ROOT_PREFIX} X11BASE= ${X11ROOT} @ 1.13 log @Remove some unused vars in PLIST_SUBST. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.12 2004/07/21 21:40:17 xtraeme Exp $ d241 1 a241 2 .endif # NO_XFREE86_TARGETS a242 1 @ 1.12 log @Add OpenBSD to ${SYSTEMS} for compiler options. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.11 2004/07/20 22:23:25 xtraeme Exp $ a35 2 SHARED_LIB_MINOR= '@@comment ' STATIC_LIB= a36 2 I810XVMC= '@@comment ' LIBOLDX= a52 4 LIBXTHRSTUB= XTHRSTUB_MINOR= SHARED_LIB_MINOR= STATIC_LIB= '@@comment ' a53 2 I810XVMC= LIBOLDX= '@@comment ' d69 1 a69 1 .else a70 4 LIBXTHRSTUB= XTHRSTUB_MINOR= SHARED_LIB_MINOR= STATIC_LIB= a71 2 I810XVMC= '@@comment ' LIBOLDX= a91 2 PLIST_SUBST+= SHARED_LIB_MINOR=${SHARED_LIB_MINOR} PLIST_SUBST+= STATIC_LIB=${STATIC_LIB} a92 2 PLIST_SUBST+= I810XVMC=${I810XVMC} PLIST_SUBST+= LIBOLDX=${LIBOLDX} @ 1.11 log @Add OpenBSD-*-* to ONLY_FOR_PLATFORM, mark NetBSD/FreeBSD/Linux for any arch too (I cannot test them, but it's best to enable it for future testers). Note that I'm working on adding OpenBSD support for these packages. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.10 2004/05/07 15:25:13 cjep Exp $ d165 1 a165 1 SYSTEMS= FreeBSD NetBSD linux @ 1.10 log @whitespace nits @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.9 2004/04/27 21:49:57 reed Exp $ d146 1 a146 1 ONLY_FOR_PLATFORM= FreeBSD-*-i386 Linux-*-i386 NetBSD-*-i386 SunOS-*-* @ 1.9 log @Fix problem where PLIST included shared libraries for liboldX for Linux. Also make sure that libpsres.* is installed always. This is for the XFree86-libs package. PKGREVISION was just bumped in last, very recent, commit so don't do it again. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.8 2004/04/17 11:10:53 jmmv Exp $ d59 1 a59 1 SHARED_LIB_MINOR= @ 1.8 log @Fix broken includes. Pointed out by kristerw@@. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2004/04/14 21:15:01 jmmv Exp $ d40 1 d63 1 d87 1 d112 1 @ 1.7 log @Add support for the XFree86-dirs package in mk/dirs.mk, by modifying it to work properly with it. Agreed with xtraeme@@. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.6 2004/03/29 00:30:17 xtraeme Exp $ d101 1 a101 1 .if !defined(XFREE86_ONLY_DIRS) d259 1 a259 1 .endif # !defined(XFREE86_ONLY_DIRS) @ 1.6 log @Make sure X11_TYPE=XFree86 is defined before building X11 packages, this will fix wrong binary packages made by bulk builds. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.5 2004/03/28 22:06:16 xtraeme Exp $ d20 3 d101 2 d258 4 @ 1.5 log @Upgrade XFree86 packages to 4.4.0. To see a full list of changes, please review: http://xfree86.org/4.4.0/RELNOTES.html These packages has been tested under NetBSD 1.6/-current, FreeBSD 4.x/5.x, and GNU/Linux (i386) by Jeremy C. Reed, Michal Pasternak and myself. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.4 2004/02/07 18:47:07 xtraeme Exp $ d117 6 @ 1.4 log @Mark XFree86 packages ONLY_FOR_PLATFORM= FreeBSD-*-i386 Linux-*-i386. They were not built for NetBSD, so if you want to install XFree86, use the original method (xsrc or build.sh). @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3 2004/02/02 14:08:28 xtraeme Exp $ d12 7 a18 7 # X430src-1 is the base. # X430src-2 contains various programs like bitmap, twm, xterm, xdm, xinit, ... # X430src-3 is xc/programs/Xserver/. # X430src-4 contains xc/fonts/{PEX,bdf/100dpi,bdf/75dpi,bdf/misc,encodings} # X430src-5 contains xc/fonts/scaled/{CID,Ethiopic,Meltho,Speedo,TTF,Type1} # X430src-6 contains the documentation source. # X430src-7 contains the hardcopy documentation. d22 102 a123 8 .if ${OPSYS} == "Linux" USE_GNU_TOOLS+= make .endif WRKSRC?= ${WRKDIR}/xc USE_X11BASE= YES USE_X11_LINKS= NO X11ROOT= ${X11PREFIX}/X11R6 d125 7 a131 1 ONLY_FOR_PLATFORM= FreeBSD-*-i386 Linux-*-i386 d140 1 a140 1 XF_VER= 4.3.0 d147 3 a149 2 # Operating Systems to pass our compiler options (CC, CXX, CPP, CFLAGS) d154 7 a160 1 .if !target(post-extract) d175 2 a176 1 -e "s|@@LDFLAGS@@|${LDFLAGS}|g" \ d183 1 a183 4 .if exists(${FILESDIR}/ucs2any.c) @@${CP} ${FILESDIR}/ucs2any.c ${WRKSRC}/fonts/util .endif .if exists(${FILESDIR}/Wraphelp.c) d185 1 a185 1 .endif d187 1 a187 1 .for F in ${SYSTEMS} d190 2 a191 4 .endfor .undef F .endif d193 1 a193 1 .if !target(pre-configure) d195 1 d197 1 a197 2 .for F in ${SYSTEMS} d201 1 a201 1 -e "s|@@@@PKGSRC_CFLAGS@@@@|${CFLAGS}|g" \ d206 2 a207 19 .endfor .undef F # Check if we have a native threads implementation .if ${OPSYS} == "NetBSD" && !exists(/usr/include/pthread.h) ${ECHO} "#define TheadedX NO" >> ${WRKSRC}/config/cf/NetBSD.cf .else @@( \ cd ${WRKSRC}/config/cf && \ ${ECHO} "#define HasPosixThreads YES" >> NetBSD.cf; \ ${ECHO} "#define ThreadedX YES" >> NetBSD.cf; \ ${ECHO} "#define HasThreadSafeAPI YES" >> NetBSD.cf; \ ${ECHO} "#define ThreadsLibraries -lpthread" >> NetBSD.cf; \ ${ECHO} "#define LibraryMTDefines -DUSE_NBSD_THREADLIB" >> NetBSD.cf; \ ${ECHO} "#define SystemMTDefines -D_REENTRANT" >> NetBSD.cf; \ ${ECHO} "#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI" \ >> NetBSD.cf \ ) d209 1 a209 2 .endif .endif d211 1 a211 1 .if !target(do-configure) d227 1 a227 1 .endif d229 1 a229 1 .if !target(do-build) d234 1 a234 1 .endif d236 1 a236 1 .if !target(do-install) d244 1 a244 1 .endif @ 1.3 log @XFree86 meta-package can be now installed with or without xpkgwedge, installation prefix is ${X11PREFIX}/X11R6. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.2 2004/01/31 19:08:47 xtraeme Exp $ d31 2 @ 1.2 log @Remove deprecated MANCOMPRESSED (FreeBSD). @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1.1.1 2004/01/24 08:52:28 xtraeme Exp $ d29 1 d40 1 a40 1 IMAKE= ${X11PREFIX}/bin/imake d59 6 a64 6 -e "s|@@RMAN@@|${X11PREFIX}/bin/rman|g" \ -e "s|@@MKHTMLINDEX@@|${X11PREFIX}/bin/mkhtmlindex|g" \ -e "s|@@GCCMAKEDEP@@|${X11PREFIX}/bin/gccmakedep|g" \ -e "s|@@MAKEDEPEND@@|${X11PREFIX}/bin/makedepend|g" \ -e "s|@@REVPATH@@|${X11PREFIX}/bin/revpath|g" \ -e "s|@@PREFIX@@|${X11PREFIX}|g" \ d68 5 a72 5 @@${LN} -sf ${PREFIX}/bin/gccmakedep ${WRKSRC}/config/util @@${LN} -sf ${PREFIX}/bin/revpath ${WRKSRC}/config/util @@${LN} -sf ${PREFIX}/bin/pswrap ${WRKSRC}/config/pswrap @@${LN} -sf ${PREFIX}/lib/X11/config/version.def ${WRKSRC}/config/cf @@${LN} -sf ${PREFIX}/lib/X11/config/date.def ${WRKSRC}/config/cf d159 1 a159 1 .endif # ! NO_XFREE86_TARGETS @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d22 1 a22 3 .if ${OPSYS} == "FreeBSD" MANCOMPRESSED= YES .elif ${OPSYS} == "Linux" d51 1 @ 1.1.1.1 log @Initial import of XFree86-4.3.0 from pkgsrc-wip. This is the XFree86 meta package, for installing the entire XFree86 suite. @ text @@