summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-11 02:05:07 +0000
committerjlam <jlam@pkgsrc.org>2001-06-11 02:05:07 +0000
commitdbfde59b14f3df33f921b522c83796d99919502c (patch)
tree8a4903fb4961ac3e5118ca00c446b0bcfea9697d /graphics/png
parent072be2ad69b44757c1fda013ef9c97ac9969c501 (diff)
downloadpkgsrc-dbfde59b14f3df33f921b522c83796d99919502c.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 'graphics/png')
-rw-r--r--graphics/png/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 695575cd545..35e556ce833 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2001/06/10 00:08:44 jlam Exp $
+# $NetBSD: Makefile,v 1.35 2001/06/11 02:05:11 jlam Exp $
# On update, don't forget to increase shared library major/minor's in
# accordance with changes (patch-aa).
@@ -21,9 +21,6 @@ MAKE_ENV+= REALCC="${CC}"
.include "../../devel/zlib/buildlink.mk"
-CFLAGS+= -I${BUILDLINK_INCDIR}
-LDFLAGS+= -L${BUILDLINK_LIBDIR}
-
post-install:
${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3