summaryrefslogtreecommitdiff
path: root/net/napshare
diff options
context:
space:
mode:
authortv <tv>2005-03-19 17:00:12 +0000
committertv <tv>2005-03-19 17:00:12 +0000
commit17ba881cb7de6c443394f0f022838c4222da6c2e (patch)
treed165b54be3be619f8517ce1e1fc116ff0b3b60c7 /net/napshare
parentf8828033eabf497cd50ce6e0e6bc441362c2b0fb (diff)
downloadpkgsrc-17ba881cb7de6c443394f0f022838c4222da6c2e.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