diff options
-rw-r--r-- | security/pam_alreadyloggedin/Makefile | 21 | ||||
-rw-r--r-- | security/pam_alreadyloggedin/files/Makefile.inc | 2 | ||||
-rw-r--r-- | security/pam_alreadyloggedin/pkg-plist | 4 |
3 files changed, 9 insertions, 18 deletions
diff --git a/security/pam_alreadyloggedin/Makefile b/security/pam_alreadyloggedin/Makefile index ba0531d0b27a..664f53cb4d91 100644 --- a/security/pam_alreadyloggedin/Makefile +++ b/security/pam_alreadyloggedin/Makefile @@ -3,7 +3,7 @@ PORTNAME= pam_alreadyloggedin PORTVERSION= 0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://green.homeunix.org/~green/ @@ -14,18 +14,11 @@ COMMENT= PAM module based on whether a user is already logged in MANCOMPRESSED= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 900007 -BROKEN= fails to build with new utmpx -.endif - -.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE) -PLIST_SUB+= PROFILE="@comment " -.else -PLIST_SUB+= PROFILE="" -.endif - MAN8= pam_alreadyloggedin.8 +MAKE_JOBS_SAFE= yes +PLIST_FILES= lib/pam_alreadyloggedin.so lib/pam_alreadyloggedin.so.2 + +do-configure: + ${LN} -s ${FILESDIR}/Makefile.inc ${WRKDIR}/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/pam_alreadyloggedin/files/Makefile.inc b/security/pam_alreadyloggedin/files/Makefile.inc new file mode 100644 index 000000000000..0e3fe2882b4a --- /dev/null +++ b/security/pam_alreadyloggedin/files/Makefile.inc @@ -0,0 +1,2 @@ +NO_INSTALLLIB= # don't install static version +NO_PROFILE= # don't even build the profile version diff --git a/security/pam_alreadyloggedin/pkg-plist b/security/pam_alreadyloggedin/pkg-plist deleted file mode 100644 index b5414d02fb89..000000000000 --- a/security/pam_alreadyloggedin/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -lib/libpam_alreadyloggedin.a -%%PROFILE%%lib/libpam_alreadyloggedin_p.a -lib/pam_alreadyloggedin.so -lib/pam_alreadyloggedin.so.2 |