aboutsummaryrefslogtreecommitdiff
path: root/security/pam_alreadyloggedin
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2013-04-23 22:31:27 +0000
committerMikhail Teterin <mi@FreeBSD.org>2013-04-23 22:31:27 +0000
commit764b40497b16916902d44a45cb480b05e10f2a9e (patch)
tree3363996d9cb48d231f1e882eb6cf9b5b301fe0ac /security/pam_alreadyloggedin
parentcf1e464d49f26c3fb84d1571e1515602cdc94fb7 (diff)
downloadports-764b40497b16916902d44a45cb480b05e10f2a9e.tar.gz
ports-764b40497b16916902d44a45cb480b05e10f2a9e.zip
Notes
Diffstat (limited to 'security/pam_alreadyloggedin')
-rw-r--r--security/pam_alreadyloggedin/Makefile21
-rw-r--r--security/pam_alreadyloggedin/files/Makefile.inc2
-rw-r--r--security/pam_alreadyloggedin/pkg-plist4
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