summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-07-12 17:07:46 +0000
committerjylefort <jylefort@FreeBSD.org>2005-07-12 17:07:46 +0000
commitca4590c0646700104f47d95ac747429c7d102dd9 (patch)
tree7136b9a6778e3a8d5b3190f8d4e8521f3877891a /security
parentaa0f9782a124fede256691a5e14f34b424c65a5e (diff)
downloadFreeBSD-ports-ca4590c0646700104f47d95ac747429c7d102dd9.zip
FreeBSD-ports-ca4590c0646700104f47d95ac747429c7d102dd9.tar.gz
- Let configure know that we have fnmatch.h (fixes some fnmatch-using
C++ ports, since the fnmatch.h which was uselessly installed by heimdal did not wrap the fnmatch() declaration in extern C {}) [1] - Fix the packing list on 4.x [1] PR: ports/80366 Submitted by: Joan Picanyol i Puig <lists-freebsd-gnats@biaix.org> Approved by: maintainer timeout (76 days)
Diffstat (limited to 'security')
-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