aboutsummaryrefslogtreecommitdiff
path: root/security/calife-devel
diff options
context:
space:
mode:
authorThomas Quinot <thomas@FreeBSD.org>2006-03-29 09:44:49 +0000
committerThomas Quinot <thomas@FreeBSD.org>2006-03-29 09:44:49 +0000
commitb80a81091200e3e2c8cbfc4e415941024f416a17 (patch)
treefddeb4139dbe584400c242116905aaf82b886e64 /security/calife-devel
parent58df807419eaeb80b0d7d1524fb75ceb39555dbd (diff)
downloadports-b80a81091200e3e2c8cbfc4e415941024f416a17.tar.gz
ports-b80a81091200e3e2c8cbfc4e415941024f416a17.zip
When building calife-devel on 4.X-stable, @comment-out the PAM config
sample from pkg-plist. This fixes an install failure on 4.x reported by pointyhat. Approved by: roberto
Notes
Notes: svn path=/head/; revision=158375
Diffstat (limited to 'security/calife-devel')
-rw-r--r--security/calife-devel/Makefile5
-rw-r--r--security/calife-devel/pkg-plist2
2 files changed, 5 insertions, 2 deletions
diff --git a/security/calife-devel/Makefile b/security/calife-devel/Makefile
index b39b3f0d794c..10f75082802d 100644
--- a/security/calife-devel/Makefile
+++ b/security/calife-devel/Makefile
@@ -25,6 +25,9 @@ CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc
.if ${OSVERSION} >= 500000
CONFIGURE_ARGS+= --with-pam
+PLIST_SUB+= WITH_PAM=""
+.else
+PLIST_SUB+= WITH_PAM="@comment "
.endif
CONFLICTS?= calife-2.*
@@ -35,7 +38,7 @@ MAN5= calife.auth.5
post-install:
.if ${OSVERSION} >= 500000
@${INSTALL_DATA} ${WRKSRC}/calife.pam ${PREFIX}/etc/pam.d/calife.sample
-.endif
@${CAT} ${PKGMESSAGE}
+.endif
.include <bsd.port.post.mk>
diff --git a/security/calife-devel/pkg-plist b/security/calife-devel/pkg-plist
index 641665130209..a44819eaf382 100644
--- a/security/calife-devel/pkg-plist
+++ b/security/calife-devel/pkg-plist
@@ -1,3 +1,3 @@
bin/calife
etc/calife.auth-dist
-etc/pam.d/calife.sample
+%%WITH_PAM%%etc/pam.d/calife.sample