diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-08 19:25:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-08 19:25:54 +0000 |
commit | 8d3685529da63f1ff8009224a57afaecec427aff (patch) | |
tree | 2f36b0b580d0ac4276727dc0a49236babe102fb2 /x11 | |
parent | 80d7c47a236ff47035d1ab6345aa5dc735937ffa (diff) | |
download | ports-8d3685529da63f1ff8009224a57afaecec427aff.tar.gz ports-8d3685529da63f1ff8009224a57afaecec427aff.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm2/Makefile | 12 | ||||
-rw-r--r-- | x11/gdm2/pkg-plist | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index ef8eafd056fc..b6c197b06004 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -17,7 +17,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ - rsvg-2.2:${PORTSDIR}/graphics/librsvg2 + rsvg-2.2:${PORTSDIR}/graphics/librsvg2 USE_BZIP2= yes USE_X_PREFIX= yes @@ -32,6 +32,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 @@ -62,4 +70,4 @@ post-install: @${CHMOD} 0750 ${PREFIX}/share/gnome/gdm @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11/gdm2/pkg-plist b/x11/gdm2/pkg-plist index 4c2485f3bfaf..bd01ffaba19e 100644 --- a/x11/gdm2/pkg-plist +++ b/x11/gdm2/pkg-plist @@ -32,7 +32,7 @@ etc/rc.d/gdm.sh.sample sbin/gdm-restart sbin/gdm-safe-restart sbin/gdm-stop -sbin/gdmaskpass +%%PAM_MISC%%sbin/gdmaskpass sbin/gdmconfig share/gnome/applications/gdmflexiserver-xnest.desktop share/gnome/applications/gdmflexiserver.desktop |