diff options
author | wiz <wiz@pkgsrc.org> | 2002-10-25 12:04:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-10-25 12:04:07 +0000 |
commit | 6c16e6894977203fac39ecae0f5a6b2e67087588 (patch) | |
tree | 33ea456346775671467c13097a50f7cbfabf6ca5 | |
parent | 7c2325c81c4fb747208e050b998a771b4a804f9b (diff) | |
download | pkgsrc-6c16e6894977203fac39ecae0f5a6b2e67087588.tar.gz |
Convert to buildlink2.
-rw-r--r-- | mail/postfix/Makefile | 29 | ||||
-rw-r--r-- | security/nessus-core/Makefile | 11 |
2 files changed, 21 insertions, 19 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index cc8217ab1a1..58c01630985 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.68 2002/09/11 15:50:58 taca Exp $ +# $NetBSD: Makefile,v 1.69 2002/10/25 12:09:33 wiz Exp $ DISTNAME= postfix-1.1.11 PKGREVISION= 1 @@ -13,6 +13,8 @@ DIST_SUBDIR= postfix POSTFIX_SPOOL= /var/spool/postfix +USE_BUILDLINK2= yes + .include "../../mk/bsd.prefs.mk" # XXX No IPv6 patch available yet! @@ -27,30 +29,30 @@ POSTFIX_SPOOL= /var/spool/postfix || defined(USE_SASL) && ${USE_SASL} == "YES" \ || defined(POSTFIX_USE_MYSQL) && ${POSTFIX_USE_MYSQL} == "YES" \ || defined(POSTFIX_USE_TLS) && ${POSTFIX_USE_TLS} == "YES" -CCARGS= -I${LOCALBASE}/include -AUXLIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib MAKE_ENV+= AUXLIBS="${AUXLIBS}" CCARGS="${CCARGS}" .endif .if defined(POSTFIX_USE_PCRE) && ${POSTFIX_USE_PCRE} == "YES" -DEPENDS+= pcre>=2.08:../../devel/pcre +.include "../../devel/pcre/buildlink2.mk" CCARGS+= -DHAS_PCRE -AUXLIBS+= -lpcre +AUXLIBS+= -L${BUILDLINK_PREFIX.pcre}/lib -Wl,-R${BUILDLINK_PREFIX.pcre}/lib -lpcre BUILD_DEFS+= POSTFIX_USE_PCRE .endif .if defined(POSTFIX_USE_MYSQL) && ${POSTFIX_USE_MYSQL} == "YES" -DEPENDS+= mysql-client>=3.23:../../databases/mysql-client -CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql -AUXLIBS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql +.include "../../databases/mysql-client/buildlink2.mk" +CCARGS+= -DHAS_MYSQL -I${BUILDLINK_PREFIX.mysql-client}/include/mysql +AUXLIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ + -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql AUXLIBS+= -lmysqlclient -lz -lm BUILD_DEFS+= POSTFIX_USE_MYSQL .endif .if defined(USE_SASL) && ${USE_SASL} == "YES" -DEPENDS+= cyrus-sasl>=1.5.5:../../security/cyrus-sasl +.include "../../security/cyrus-sasl/buildlink2.mk" CCARGS+= -DUSE_SASL_AUTH -AUXLIBS+= -lsasl +AUXLIBS+= -L${BUILDLINK_PREFIX.cyrus-sasl}/lib \ + -Wl,-R${BUILDLINK_PREFIX.cyrus-sasl}/lib -lsasl PLIST_SRC+= ${WRKDIR}/PLIST.sasl MESSAGE_SRC+= ${PKGDIR}/MESSAGE.sasl MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} @@ -58,11 +60,13 @@ BUILD_DEFS+= USE_SASL .endif .if defined(POSTFIX_USE_TLS) && ${POSTFIX_USE_TLS} == "YES" +.include "../../security/openssl/buildlink2.mk" PATCH_SITES+= http://people.arhea.net/dawszy/NetBSD/postfix_tls/ PATCHFILES+= pfixtls-1.1.11.diff.gz PATCH_DIST_STRIP= -p1 CCARGS+= -DHAS_SSL -AUXLIBS+= -lssl -lcrypto +AUXLIBS+= -L${BUILDLINK_PREFIX.openssl}/lib \ + -Wl,-R${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto PLIST_SRC+= ${PKGDIR}/PLIST.tls MESSAGE_SRC+= ${PKGDIR}/MESSAGE.tls BUILD_DEFS+= POSTFIX_USE_TLS @@ -147,8 +151,5 @@ post-install: ${TEST} -f /etc/postfix/master.cf || \ ${INSTALL_DATA} ${PREFIX}/share/postfix/master.cf /etc/postfix -.if defined(POSTFIX_USE_TLS) && ${POSTFIX_USE_TLS} == "YES" -.include "../../security/openssl/buildlink.mk" -.endif .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/nessus-core/Makefile b/security/nessus-core/Makefile index 3ce4d969ae8..c7899f88066 100644 --- a/security/nessus-core/Makefile +++ b/security/nessus-core/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 17:49:54 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2002/10/25 12:04:07 wiz Exp $ # DISTNAME= nessus-core-${VERS} @@ -6,15 +6,16 @@ DISTNAME= nessus-core-${VERS} COMMENT= Core module of the Nessus Network Security Scanner -DEPENDS+= nessus-libraries-${VERS}:../nessus-libraries -DEPENDS+= libnasl-${VERS}:../libnasl -DEPENDS+= gtk+-1.2.*:../../x11/gtk - WRKSRC= ${WRKDIR}/nessus-core +USE_BUILDLINK2= yes +USE_X11= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-gtk \ --with-x \ --localstatedir=/var +.include "../../security/libnasl/buildlink2.mk" +.include "../../security/nessus-libraries/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |