From 17ba881cb7de6c443394f0f022838c4222da6c2e Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 19 Mar 2005 17:00:12 +0000 Subject: Defer evaluation of GTKCFLAGS until CFLAGS is actually propagated to the environment (after dependencies are handled). --- net/napshare/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'net/napshare') 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 -- cgit v1.2.3