summaryrefslogtreecommitdiff
path: root/databases/tcl-gdbm
diff options
context:
space:
mode:
authorjwise <jwise>2000-08-29 21:12:20 +0000
committerjwise <jwise>2000-08-29 21:12:20 +0000
commitd383c99f7f8c1db65b4e48022a4ff03964c35c56 (patch)
tree8cae4f8369ce36a254dca01ea824036e7a6531a8 /databases/tcl-gdbm
parentef652617dd6014512497b10394c9ba048c274eaa (diff)
downloadpkgsrc-d383c99f7f8c1db65b4e48022a4ff03964c35c56.tar.gz
Slight fix to previous -- goose CONFIGURE_ENV with proper LDFLAGS for
ELF.
Diffstat (limited to 'databases/tcl-gdbm')
-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