diff options
Diffstat (limited to 'security/heimdal/Makefile')
-rw-r--r-- | security/heimdal/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 80825d0..ce01e20 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -7,7 +7,7 @@ PORTNAME= heimdal PORTVERSION= 0.6.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.pdc.kth.se/pub/heimdal/src/ \ ftp://ftp.sunet.se/pub/unix/admin/mirror-pdc/pub/heimdal/src/ \ @@ -21,6 +21,7 @@ OPTIONS+= LDAP "Use OpenLDAP as the KDC backend" off OPTIONS+= CRACKLIB "Use CrackLib for password quality checking" off OPTIONS+= X11 "Build X11 utilies" off +USE_REINPLACE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes @@ -29,10 +30,6 @@ CONFIGURE_ARGS+= --enable-shared --without-krb4 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= "Incomplete pkg-plist on 4.x" -.endif - .if defined(WITH_LDAP) USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} @@ -56,6 +53,10 @@ CONFLICTS= wu-ftpd-[0-9]* wu-ftpd+ipv6-[0-9]* INFO= heimdal PLIST:= ${WRKDIR}/PLIST +post-patch: + @${REINPLACE_CMD} -e 's|$$ac_cv_header_fnmatch_h|yes|' \ + ${WRKSRC}/configure + post-build: .if defined(WITH_CRACKLIB) ${SED} -e "s;%%LOCALBASE%%;${LOCALBASE};g" \ @@ -67,9 +68,9 @@ post-build: pre-install: @${CP} ${PKGDIR}/pkg-plist ${PLIST} -.if exists(${WRKSRC}/lib/com_err/.libs/compile_et) - @${CAT} ${PKGDIR}/pkg-plist.com_err >> ${PLIST} -.endif + @if [ -f ${WRKSRC}/lib/com_err/.libs/compile_et ]; then \ + ${CAT} ${PKGDIR}/pkg-plist.com_err >> ${PLIST}; \ + fi .if defined(WITH_X11) @${CAT} ${PKGDIR}/pkg-plist.x11 >> ${PLIST} .endif |