summaryrefslogtreecommitdiff
path: root/databases/tcl-gdbm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tcl-gdbm/Makefile')
-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