Source-Changes-HG archive

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

[src/trunk]: src/share/examples/puffs/pgfs make pg_config overridable



details:   https://anonhg.NetBSD.org/src/rev/a30928f5864f
branches:  trunk
changeset: 786254:a30928f5864f
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Apr 22 13:27:08 2013 +0000

description:
make pg_config overridable

diffstat:

 share/examples/puffs/pgfs/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r a0529a72625b -r a30928f5864f share/examples/puffs/pgfs/Makefile
--- a/share/examples/puffs/pgfs/Makefile        Mon Apr 22 13:22:25 2013 +0000
+++ b/share/examples/puffs/pgfs/Makefile        Mon Apr 22 13:27:08 2013 +0000
@@ -7,8 +7,10 @@
 
 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}



Home | Main Index | Thread Index | Old Index