Date: Tue, 23 Apr 2013 22:31:27 +0000 (UTC) From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316397 - in head/security/pam_alreadyloggedin: . files Message-ID: <201304232231.r3NMVR77027147@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mi Date: Tue Apr 23 22:31:27 2013 New Revision: 316397 URL: http://svnweb.freebsd.org/changeset/ports/316397 Log: Unbreak -- this builds fine here (OSVERSION is 901502). While here, use the same trick as src/lib/libpam uses to avoid installing the static versions of the modules, and even building the profiled ones. Preventing building the static version would require patching the Makefile, and, probably, is not worth it. Use PLIST_FILES instead of pkg-plist. Added: head/security/pam_alreadyloggedin/files/Makefile.inc (contents, props changed) Deleted: head/security/pam_alreadyloggedin/pkg-plist Modified: head/security/pam_alreadyloggedin/Makefile (contents, props changed) Modified: head/security/pam_alreadyloggedin/Makefile ============================================================================== --- head/security/pam_alreadyloggedin/Makefile Tue Apr 23 22:12:41 2013 (r316396) +++ head/security/pam_alreadyloggedin/Makefile Tue Apr 23 22:31:27 2013 (r316397) @@ -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 u 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> Added: head/security/pam_alreadyloggedin/files/Makefile.inc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pam_alreadyloggedin/files/Makefile.inc Tue Apr 23 22:31:27 2013 (r316397) @@ -0,0 +1,2 @@ +NO_INSTALLLIB= # don't install static version +NO_PROFILE= # don't even build the profile version
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304232231.r3NMVR77027147>