aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qdbm/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-10-17 04:07:19 +0800
committerahze <ahze@FreeBSD.org>2005-10-17 04:07:19 +0800
commit2bbdc65e0caffd0e051aca1c4311cbaecdb44893 (patch)
tree68a23fcd118973fa245e51d2684257e2c1726930 /databases/qdbm/Makefile
parent41db24382f9f1a8eed329dffb69b97b75f5aac03 (diff)
downloadfreebsd-ports-gnome-2bbdc65e0caffd0e051aca1c4311cbaecdb44893.tar.gz
freebsd-ports-gnome-2bbdc65e0caffd0e051aca1c4311cbaecdb44893.tar.zst
freebsd-ports-gnome-2bbdc65e0caffd0e051aca1c4311cbaecdb44893.zip
- Fix build if LOCALBASE!=/usr/local
Reported by: kris mail
Diffstat (limited to 'databases/qdbm/Makefile')
-rw-r--r--databases/qdbm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/qdbm/Makefile b/databases/qdbm/Makefile
index 944888fea16d..ddf1a47984bf 100644
--- a/databases/qdbm/Makefile
+++ b/databases/qdbm/Makefile
@@ -23,8 +23,8 @@ INSTALLS_SHLIB= yes
USE_ICONV= yes
CONFIGURE_ARGS= --enable-zlib \
--enable-iconv
-CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
- LDFLAGS="${PTHREAD_LIBS}"
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
MAKE_ARGS= RELCFLAGS="${CFLAGS}" \
MYDATADIR="${DOCSDIR}" MYDOCS="${PORTDOCS}"
INSTALLS_SHLIB= yes