From owner-freebsd-ports@FreeBSD.ORG Mon Jan 21 18:41:49 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5358816A418 for ; Mon, 21 Jan 2008 18:41:49 +0000 (UTC) (envelope-from yds@CoolRat.org) Received: from dppl.com (orion.dppl.biz [216.182.10.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1403313C4D1 for ; Mon, 21 Jan 2008 18:41:48 +0000 (UTC) (envelope-from yds@CoolRat.org) Received: from silvr.coolrat.org (c-68-83-224-175.hsd1.nj.comcast.net [68.83.224.175]) (AUTH: PLAIN yds, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by dppl.com with esmtp; Mon, 21 Jan 2008 13:31:28 -0500 id 06432D20.000000004794E500.00011C2B Message-ID: <4794E500.8030608@CoolRat.org> Date: Mon, 21 Jan 2008 13:31:28 -0500 From: Yarema User-Agent: Thunderbird 2.0.0.9 (X11/20071227) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_orion.dppl.net-72747-1200940288-0001-2" To: Stanislav Sedov Cc: "FreeBSD.org" Subject: FreeBSD ports/security/pam_af/Makefile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 18:41:49 -0000 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_orion.dppl.net-72747-1200940288-0001-2 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Pryvet Stat, I tweaked the FreeBSD ports/security/pam_af/Makefile a little. Since bsd.port.mk has: .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else MANPREFIX?= ${PREFIX} .endif ...then this patch allow installing and uninstalling with PREFIX=/usr correctly: - ${INSTALL_MAN} ${WRKSRC}/pam_af.8 ${PREFIX}/man/man8 - ${INSTALL_MAN} ${WRKSRC}/pam_af_tool/pam_af_tool.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/pam_af.8 ${MANPREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/pam_af_tool/pam_af_tool.8 ${MANPREFIX}/man/man8 I also changed - ${INSTALL_PROGRAM} ${WRKSRC}/pam_af.so ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/pam_af.so ${PREFIX}/lib so the permissions match the rest of the system pam_*.so* files. Since this patch does not change the way the port files install unless PREFIX=/usr is set bumping PORTREVISION is probably not necessary. Thank you for the pam_af module. Very useful. -- Yarema --=_orion.dppl.net-72747-1200940288-0001-2 Content-Type: text/plain; name="pam_af.diff"; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pam_af.diff" diff -u -r -N pam_af~/Makefile pam_af/Makefile --- pam_af~/Makefile 2006-11-07 03:34:34.000000000 -0500 +++ pam_af/Makefile 2008-01-21 12:57:08.132782880 -0500 @@ -18,10 +18,10 @@ MAN8= pam_af.8 pam_af_tool.8 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pam_af.so ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/pam_af.so ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/pam_af_tool/pam_af_tool ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/pam_af.8 ${PREFIX}/man/man8 - ${INSTALL_MAN} ${WRKSRC}/pam_af_tool/pam_af_tool.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/pam_af.8 ${MANPREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/pam_af_tool/pam_af_tool.8 ${MANPREFIX}/man/man8 post-install: .if !defined(NOPORTDOCS) --=_orion.dppl.net-72747-1200940288-0001-2--