1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Fix install on -CURRENT.

Submitted by:	bento
Obtained from:	gdm2
This commit is contained in:
Joe Marcus Clarke 2002-10-19 18:03:15 +00:00
parent 33defbc0b8
commit 7f1ed94ab9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68354
2 changed files with 10 additions and 2 deletions

View File

@ -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>

View File

@ -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