summaryrefslogtreecommitdiff
path: root/net/napshare
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-19 17:00:12 +0000
committertv <tv@pkgsrc.org>2005-03-19 17:00:12 +0000
commitb19aee0ec35bd6496a7387ceadbf9e76f9fab4c6 (patch)
treed165b54be3be619f8517ce1e1fc116ff0b3b60c7 /net/napshare
parent0818f95780998888142b2b901da3996b45a2ddf6 (diff)
downloadpkgsrc-b19aee0ec35bd6496a7387ceadbf9e76f9fab4c6.tar.gz
Defer evaluation of GTKCFLAGS until CFLAGS is actually propagated to the
environment (after dependencies are handled).
Diffstat (limited to 'net/napshare')
-rw-r--r--net/napshare/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/napshare/Makefile b/net/napshare/Makefile
index d1d715d1091..407aeafccb9 100644
--- a/net/napshare/Makefile
+++ b/net/napshare/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/03/02 13:42:53 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2005/03/19 17:00:12 tv Exp $
DISTNAME= napshare-1.3
CATEGORIES= net
@@ -11,9 +11,8 @@ COMMENT= Fully featured Gnutella P2P client made to run 24/7 unattended
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
-CFLAGS+= ${GTKCFLAGS}
+GTKCFLAGS_CMD= ${BUILDLINK_PREFIX.gtk}/bin/gtk-config --cflags
+CFLAGS+= ${GTKCFLAGS:sh}
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-
-GTKCFLAGS!= ${PREFIX}/bin/gtk-config --cflags