summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2000-08-29 21:12:20 +0000
committerjwise <jwise@pkgsrc.org>2000-08-29 21:12:20 +0000
commit09529272600f2bcce5f28911b4b0cc82a90a2fd4 (patch)
tree8cae4f8369ce36a254dca01ea824036e7a6531a8
parent3387b6097f9c099fe2ce5bc58827e1faea4163ea (diff)
downloadpkgsrc-09529272600f2bcce5f28911b4b0cc82a90a2fd4.tar.gz
Slight fix to previous -- goose CONFIGURE_ENV with proper LDFLAGS for
ELF.
-rw-r--r--databases/tcl-gdbm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/tcl-gdbm/Makefile b/databases/tcl-gdbm/Makefile
index 16028f16731..1ff09140e17 100644
--- a/databases/tcl-gdbm/Makefile
+++ b/databases/tcl-gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/08/29 21:05:46 jwise Exp $
+# $NetBSD: Makefile,v 1.6 2000/08/29 21:12:20 jwise Exp $
#
DISTNAME= tclgdbm-0.8
@@ -12,6 +12,9 @@ DEPENDS+= tcl-8.3.2:../../lang/tcl80
DEPENDS+= gdbm>=1.7.3:../../databases/gdbm
GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig