aboutsummaryrefslogtreecommitdiff
path: root/dns/mydns-ng
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-10-17 06:19:06 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-10-17 06:19:06 +0000
commit76b761f1820cdb18f09244102d535d2f0344e7f8 (patch)
tree6adf08f6f9d47594ab921781d855552a520a2870 /dns/mydns-ng
parentaa8e54406e5ec4006aa8f706ee328aa45e9df09d (diff)
downloadports-76b761f1820cdb18f09244102d535d2f0344e7f8.tar.gz
ports-76b761f1820cdb18f09244102d535d2f0344e7f8.zip
Make LOCALBASE clean.
Spotted by: kris
Notes
Notes: svn path=/head/; revision=145619
Diffstat (limited to 'dns/mydns-ng')
-rw-r--r--dns/mydns-ng/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile
index 8191d0cf1c05..90632e6a13e8 100644
--- a/dns/mydns-ng/Makefile
+++ b/dns/mydns-ng/Makefile
@@ -36,15 +36,21 @@ CONFIGURE_ARGS+=--enable-alias
.if defined(WITH_OPENSSL)
USE_OPENSSL= yes
-CONFIGURE_ARGS+=--with-openssl
+CONFIGURE_ARGS+=--with-openssl \
+ --with-openssl-include=${OPENSSLINC} \
+ --with-openssl-lib=${OPENSSLLIB}
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
-CONFIGURE_ARGS+=--without-mysql
+CONFIGURE_ARGS+=--without-mysql \
+ --with-pgsql-include=${LOCALBASE}/include \
+ --with-pgsql-lib=${LOCALBASE}/lib
PKGNAMESUFFIX= -pg
.else
-CONFIGURE_ARGS+=--without-pgsql
+CONFIGURE_ARGS+=--without-pgsql \
+ --with-mysql-include=${LOCALBASE}/include/mysql \
+ --with-mysql-lib=${LOCALBASE}/lib/mysql
PKGNAMESUFFIX= -mysql
USE_MYSQL= yes
.endif