diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-09-27 04:08:21 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-09-27 04:08:21 +0000 |
commit | da61f14a6cb08c8b2c17f42d99d9a567771fe9e5 (patch) | |
tree | afdaa15b872a60cb1dfd138b5cd13af0b4072147 /dns | |
parent | 0dc801978b0d85445ab83e44142d71252289ca4c (diff) | |
download | ports-da61f14a6cb08c8b2c17f42d99d9a567771fe9e5.tar.gz ports-da61f14a6cb08c8b2c17f42d99d9a567771fe9e5.zip |
Allow easy enabling of MyDNS alias feature (courtesy of David Phillips <david@geektech.com>)
and allow including of OpenSSL support for those with openssl enabled with MySQL
PR: 57249
Submitted by: Simon Dick <simond@irrelevant.org>
Notes
Notes:
svn path=/head/; revision=89511
Diffstat (limited to 'dns')
-rw-r--r-- | dns/mydns-ng/Makefile | 19 | ||||
-rw-r--r-- | dns/mydns/Makefile | 19 |
2 files changed, 36 insertions, 2 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile index 4f466f0a5810..545070c424d1 100644 --- a/dns/mydns-ng/Makefile +++ b/dns/mydns-ng/Makefile @@ -7,7 +7,7 @@ PORTNAME= mydns PORTVERSION= 0.10.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns databases MASTER_SITES= http://mydns.bboy.net/download/ @@ -31,6 +31,14 @@ DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres READM .include <bsd.port.pre.mk> +.if defined (WITH_ALIAS) +CONFIGURE_ARGS+=--enable-alias +.endif + +.if defined (WITH_OPENSSL) +CONFIGURE_ARGS+=--with-openssl +.endif + .if defined (WITH_PGSQL) LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 CONFIGURE_ARGS+=--without-mysql @@ -47,6 +55,15 @@ LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client .endif .endif +pre-fetch: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_PGSQL=yes Build with PostgreSQL support" + @${ECHO} " WITH_ALIAS=yes Enable server side aliases" + @${ECHO} " WITH_OPENSSL=yes Enable OpenSSL (needed if MySQL is linked with OpenSSL" + @${ECHO} "" + post-install: @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile index 4f466f0a5810..545070c424d1 100644 --- a/dns/mydns/Makefile +++ b/dns/mydns/Makefile @@ -7,7 +7,7 @@ PORTNAME= mydns PORTVERSION= 0.10.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns databases MASTER_SITES= http://mydns.bboy.net/download/ @@ -31,6 +31,14 @@ DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres READM .include <bsd.port.pre.mk> +.if defined (WITH_ALIAS) +CONFIGURE_ARGS+=--enable-alias +.endif + +.if defined (WITH_OPENSSL) +CONFIGURE_ARGS+=--with-openssl +.endif + .if defined (WITH_PGSQL) LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 CONFIGURE_ARGS+=--without-mysql @@ -47,6 +55,15 @@ LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client .endif .endif +pre-fetch: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_PGSQL=yes Build with PostgreSQL support" + @${ECHO} " WITH_ALIAS=yes Enable server side aliases" + @${ECHO} " WITH_OPENSSL=yes Enable OpenSSL (needed if MySQL is linked with OpenSSL" + @${ECHO} "" + post-install: @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample |