Module Name: src
Committed By: yamt
Date: Mon Apr 22 13:27:08 UTC 2013
Modified Files:
src/share/examples/puffs/pgfs: Makefile
Log Message:
make pg_config overridable
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/examples/puffs/pgfs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/puffs/pgfs/Makefile
diff -u src/share/examples/puffs/pgfs/Makefile:1.1 src/share/examples/puffs/pgfs/Makefile:1.2
--- src/share/examples/puffs/pgfs/Makefile:1.1 Wed Oct 12 01:05:00 2011
+++ src/share/examples/puffs/pgfs/Makefile Mon Apr 22 13:27:08 2013
@@ -7,8 +7,10 @@ LDADD+= -lpuffs -lutil
NOMAN=
-PGINC!= pg_config --includedir
-PGLIBDIR!= pg_config --libdir
+PG_CONFIG= pg_config
+
+PGINC!= ${PG_CONFIG} --includedir
+PGLIBDIR!= ${PG_CONFIG} --libdir
CPPFLAGS+= -I${PGINC}
LDFLAGS+= -L${PGLIBDIR}
LDFLAGS+= -Wl,-R${PGLIBDIR}