pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/napshare Defer evaluation of GTKCFLAGS until CFLAG...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/416e0df91634
branches:  trunk
changeset: 490765:416e0df91634
user:      tv <tv%pkgsrc.org@localhost>
date:      Sat Mar 19 17:00:12 2005 +0000

description:
Defer evaluation of GTKCFLAGS until CFLAGS is actually propagated to the
environment (after dependencies are handled).

diffstat:

 net/napshare/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r f1a79b83b476 -r 416e0df91634 net/napshare/Makefile
--- a/net/napshare/Makefile     Sat Mar 19 16:55:26 2005 +0000
+++ b/net/napshare/Makefile     Sat Mar 19 17:00:12 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index