diff options
author | jlam <jlam> | 2001-06-11 02:05:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-11 02:05:07 +0000 |
commit | 8bbd4f1feea4465410823a4908f2eaec42ed8814 (patch) | |
tree | 8a4903fb4961ac3e5118ca00c446b0bcfea9697d /print | |
parent | 41bd0472789e2aed59f5f11fd815b22441b4b155 (diff) | |
download | pkgsrc-8bbd4f1feea4465410823a4908f2eaec42ed8814.tar.gz |
The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles. As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
Diffstat (limited to 'print')
-rw-r--r-- | print/cups/Makefile | 6 | ||||
-rw-r--r-- | print/ghostscript-nox11/Makefile.common | 5 | ||||
-rw-r--r-- | print/xpp/Makefile | 5 |
3 files changed, 3 insertions, 13 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile index ee67691a969..67c656cafaf 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2001/06/10 00:08:47 jlam Exp $ +# $NetBSD: Makefile,v 1.32 2001/06/11 02:05:14 jlam Exp $ DISTNAME= cups-${VERS}-source PKGNAME= cups-${VERS} @@ -46,10 +46,6 @@ CONFIGURE_ARGS+= --disable-pam PLIST_SRC= ${PKGDIR}/PLIST .endif -CFLAGS+= -I${BUILDLINK_INCDIR} -CXXFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} - # CUPS_USER username of the CUPS administrator # CUPS_GROUP group of the CUPS administrator # diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common index cfc3cbde538..e220d146fe8 100644 --- a/print/ghostscript-nox11/Makefile.common +++ b/print/ghostscript-nox11/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.15 2001/06/10 00:08:48 jlam Exp $ +# $NetBSD: Makefile.common,v 1.16 2001/06/11 02:05:14 jlam Exp $ DISTNAME= ghostscript-${GS_VERS} GS_VERS= 6.01 @@ -109,11 +109,8 @@ CFLAGS= CFLAGS+= -DA4 .endif -CFLAGS+= -I${BUILDLINK_INCDIR} CFLAGS+= -DHAVE_MKSTEMP=1 -LDFLAGS+= -L${BUILDLINK_LIBDIR} - .if ${OPSYS} == "SunOS" LDFLAGS+= -L${LOCALBASE}/bsd/lib -Wl,-R${LOCALBASE}/bsd/lib .endif diff --git a/print/xpp/Makefile b/print/xpp/Makefile index dfa0952e38c..00b76b90f92 100644 --- a/print/xpp/Makefile +++ b/print/xpp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/06/10 00:08:48 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2001/06/11 02:05:14 jlam Exp $ DISTNAME= xpp-1.0 CATEGORIES= print x11 @@ -17,9 +17,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" .include "../../print/cups/buildlink.mk" .include "../../x11/fltk/buildlink.mk" -CPPFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} - DOCDIR= ${PREFIX}/share/doc/xpp pre-configure: |