summaryrefslogtreecommitdiffstats
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-19 18:03:15 +0000
committermarcus <marcus@FreeBSD.org>2002-10-19 18:03:15 +0000
commitfc739de27612227176aa6f2fb52a1922e7092d26 (patch)
tree65f8be9821103ed034c378ae1acc8d80654fdfaa /x11/gdm/Makefile
parent082e59873b0d1c2e563a68aa4d4ea18576e5421e (diff)
downloadFreeBSD-ports-fc739de27612227176aa6f2fb52a1922e7092d26.zip
FreeBSD-ports-fc739de27612227176aa6f2fb52a1922e7092d26.tar.gz
Fix install on -CURRENT.
Submitted by: bento Obtained from: gdm2
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 97e984c..9f18d67 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -27,6 +27,14 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
GDMDIR?= ${PREFIX}/etc/gdm
+.include <bsd.port.pre.mk>
+
+.if exists(/usr/include/security/pam_misc.h)
+PLIST_SUB= PAM_MISC=""
+.else
+PLIST_SUB= PAM_MISC="@comment "
+.endif
+
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= yes
.endif
@@ -52,4 +60,4 @@ post-install:
@${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud