diff options
author | jlam <jlam> | 2000-04-09 03:53:50 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-04-09 03:53:50 +0000 |
commit | 492da2ca59d59ff04050ef3e1a655398a6d36c58 (patch) | |
tree | 05201b1af8d2cc6039a3a92efbec24e58b67ff9e /databases/gtranscript | |
parent | 6ed23565492eb08cd00cfd9daa6542b704eef990 (diff) | |
download | pkgsrc-492da2ca59d59ff04050ef3e1a655398a6d36c58.tar.gz |
Adapt to new postgresql include/library locations.
Diffstat (limited to 'databases/gtranscript')
-rw-r--r-- | databases/gtranscript/Makefile | 6 | ||||
-rw-r--r-- | databases/gtranscript/files/patch-sum | 3 | ||||
-rw-r--r-- | databases/gtranscript/patches/patch-aa | 26 |
3 files changed, 5 insertions, 30 deletions
diff --git a/databases/gtranscript/Makefile b/databases/gtranscript/Makefile index bd9099ba124..e241dac49a1 100644 --- a/databases/gtranscript/Makefile +++ b/databases/gtranscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/12/02 01:47:05 darcy Exp $ +# $NetBSD: Makefile,v 1.7 2000/04/09 03:55:02 jlam Exp $ # DISTNAME= gtranscript-0.0.1 @@ -21,6 +21,8 @@ DEPENDS+= postgresql-6.5.3:../../databases/postgresql GNU_CONFIGURE= YES USE_X11BASE= YES -CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/pgsql/include" + +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CPPFLAGS+= -I${LOCALBASE}/include # pgsql/*.h .include "../../mk/bsd.pkg.mk" diff --git a/databases/gtranscript/files/patch-sum b/databases/gtranscript/files/patch-sum index 8fcebd7d297..a116d9667af 100644 --- a/databases/gtranscript/files/patch-sum +++ b/databases/gtranscript/files/patch-sum @@ -1,4 +1,3 @@ -$NetBSD: patch-sum,v 1.1.1.1 1999/08/20 16:11:22 rh Exp $ +$NetBSD: patch-sum,v 1.2 2000/04/09 03:55:03 jlam Exp $ -MD5 (patch-aa) = 956fcd301ad456013123ef44ad454dab MD5 (patch-ab) = d6d187b1d0660931f93dc54d7b218f46 diff --git a/databases/gtranscript/patches/patch-aa b/databases/gtranscript/patches/patch-aa deleted file mode 100644 index a00d8fdf18a..00000000000 --- a/databases/gtranscript/patches/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/08/20 16:11:22 rh Exp $ - ---- configure.orig Fri Aug 6 21:50:19 1999 -+++ configure Fri Aug 20 17:13:11 1999 -@@ -1396,7 +1396,7 @@ - GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null` - GNOME_LIBS=`$gnomepath gnomeui --libs 2>/dev/null` - CFLAGS="$CFLAGS $GNOME_CFLAGS" --LIBS="$LIBS $GNOME_LIBS -lpq -lcrypt" -+LIBS="$LIBS $GNOME_LIBS -L${LOCALBASE}/pgsql/lib -Wl,-R${LOCALBASE}/pgsql/lib -lpq -lcrypt" - - - trap '' 1 2 15 -@@ -1673,6 +1673,12 @@ - chmod +x $CONFIG_STATUS - rm -fr confdefs* $ac_clean_files - test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -+ -+ -+for i in src/*.c src/*.h ; do -+ mv $i $i.orig -+ sed "s:<pgsql/:<:g" <$i.orig >$i -+done - - - echo configure complete, now type \'make\' |