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
commit1efc4e8c0fdcd1866c207a536330624a3632776f (patch)
tree8cae4f8369ce36a254dca01ea824036e7a6531a8 /databases/tcl-gdbm
parentf45689b06d78b85497131b2641d78f34c106c263 (diff)
downloadpkgsrc-1efc4e8c0fdcd1866c207a536330624a3632776f.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