aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-12-16 07:40:52 +0800
committerdougb <dougb@FreeBSD.org>2007-12-16 07:40:52 +0800
commit660a1ad24bcc599557db56549e4140d9c39865ad (patch)
treed485f28327ac2260c2f0aa66464f47037b058d6e /x11
parentf9127589866d6903cf9f42305d2d6b82c06efb9a (diff)
downloadfreebsd-ports-gnome-660a1ad24bcc599557db56549e4140d9c39865ad.tar.gz
freebsd-ports-gnome-660a1ad24bcc599557db56549e4140d9c39865ad.tar.zst
freebsd-ports-gnome-660a1ad24bcc599557db56549e4140d9c39865ad.zip
Configure'ing --without-pam is not enough to prevent the pam.d
file from being installed, so take matters into our own hands.
Diffstat (limited to 'x11')
-rw-r--r--x11/xscreensaver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index a0f535688909..840a028ec33a 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -128,6 +128,10 @@ post-patch:
${WRKSRC}/${f}.presed > ${WRKSRC}/${f}
.endfor
@ ${CP} ${FILESDIR}/xscreensaver.pam ${WRKSRC}/driver/xscreensaver.pam
+.else
+ ${CP} ${WRKSRC}/driver/Makefile.in ${WRKSRC}/driver/Makefile.in.post
+ ${SED} -e "s#install-xml install-pam#install-xml#" \
+ ${WRKSRC}/driver/Makefile.in.post > ${WRKSRC}/driver/Makefile.in
.endif
post-install: