summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgdt <gdt>2008-10-03 19:01:14 +0000
committergdt <gdt>2008-10-03 19:01:14 +0000
commit348ae40b1def85c50ce5395717faee07e3ff386d (patch)
tree013a27e2a005aaf4ae6aa814234f71ccc39f9a20 /security
parentfdc7d001ff769ee5a3714bfdefb0a8cc4d786800 (diff)
downloadpkgsrc-348ae40b1def85c50ce5395717faee07e3ff386d.tar.gz
Don't put glob.h in the PLIST for NetBSD. At least 4.0 and current do
not require this, and this fixes the build on those systems. Not objected to by joerg@.
Diffstat (limited to 'security')
-rw-r--r--security/kth-krb4/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/security/kth-krb4/Makefile b/security/kth-krb4/Makefile
index 124ec8a04e5..6678295a165 100644
--- a/security/kth-krb4/Makefile
+++ b/security/kth-krb4/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.49 2008/07/15 16:39:55 joerg Exp $
+# $NetBSD: Makefile,v 1.50 2008/10/03 19:01:14 gdt Exp $
#
DISTNAME= krb4-1.2.2
PKGNAME= kth-krb4-1.2.2
-#PKGREVISION= 1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security net
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/krb/src/
@@ -47,8 +46,15 @@ SUBST_FILES.paths= ${WRKSRC}/lib/kafs/kafs.h
SUBST_SED.paths+= -e 's|/usr/arla/etc/|${PKG_SYSCONFDIR}|g'
SUBST_STAGE.paths= post-patch
-.if ${OPSYS} == "NetBSD"
+# On some systems, kth-krb4's libroken installs a glob.h to compensate
+# for the system not having one. Please turn PLIST support for this
+# on narrowly.
+INSTALLS_GLOB= no
+.if ${INSTALLS_GLOB} == yes
PLIST.glob= yes
+.endif
+
+.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-readline=yes \
--with-readline-lib=${BUILDLINK_PREFIX.readline}/lib \
--with-readline-include=${BUILDLINK_PREFIX.readline}/include/readline \