From owner-svn-ports-head@FreeBSD.ORG Tue Apr 23 22:31:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 178733D6; Tue, 23 Apr 2013 22:31:28 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E3FB712D6; Tue, 23 Apr 2013 22:31:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NMVRXO027149; Tue, 23 Apr 2013 22:31:27 GMT (envelope-from mi@svn.freebsd.org) Received: (from mi@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3NMVR77027147; Tue, 23 Apr 2013 22:31:27 GMT (envelope-from mi@svn.freebsd.org) Message-Id: <201304232231.r3NMVR77027147@svn.freebsd.org> From: Mikhail Teterin Date: Tue, 23 Apr 2013 22:31:27 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 22:31:28 -0000 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 - -.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 +.include 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