summaryrefslogtreecommitdiffstats
path: root/security/heimdal
diff options
context:
space:
mode:
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile17
-rw-r--r--security/heimdal/pkg-plist1
2 files changed, 9 insertions, 9 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
diff --git a/security/heimdal/pkg-plist b/security/heimdal/pkg-plist
index 460f7ea..abbcb75 100644
--- a/security/heimdal/pkg-plist
+++ b/security/heimdal/pkg-plist
@@ -25,7 +25,6 @@ include/asn1_err.h
include/base64.h
include/der.h
include/editline.h
-include/fnmatch.h
include/getarg.h
include/gssapi.h
include/hdb-private.h
OpenPOWER on IntegriCloud