diff options
author | marcus <marcus@FreeBSD.org> | 2002-10-20 02:03:15 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-10-20 02:03:15 +0800 |
commit | fc739de27612227176aa6f2fb52a1922e7092d26 (patch) | |
tree | 65f8be9821103ed034c378ae1acc8d80654fdfaa /x11 | |
parent | 082e59873b0d1c2e563a68aa4d4ea18576e5421e (diff) | |
download | freebsd-ports-gnome-fc739de27612227176aa6f2fb52a1922e7092d26.tar.gz freebsd-ports-gnome-fc739de27612227176aa6f2fb52a1922e7092d26.tar.zst freebsd-ports-gnome-fc739de27612227176aa6f2fb52a1922e7092d26.zip |
Fix install on -CURRENT.
Submitted by: bento
Obtained from: gdm2
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 10 | ||||
-rw-r--r-- | x11/gdm/pkg-plist | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 97e984c0b92f..9f18d67aa8fc 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> diff --git a/x11/gdm/pkg-plist b/x11/gdm/pkg-plist index 3af8f7a575da..2978c09d5919 100644 --- a/x11/gdm/pkg-plist +++ b/x11/gdm/pkg-plist @@ -24,7 +24,7 @@ etc/gdm/factory-gnomerc etc/gdm/factory-gdm.conf @unexec if cmp -s %D/etc/gdm/locale.alias %D/etc/gdm/factory-locale.alias; then rm -f %D/etc/gdm/locale.alias; fi etc/gdm/factory-locale.alias -sbin/gdmaskpass +%%PAM_MISC%%sbin/gdmaskpass sbin/gdm-restart sbin/gdm-safe-restart share/gnome/apps/Settings/gdmphotosetup.desktop |