Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2008 09:10:59 +0300
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Yarema <yds@CoolRat.org>
Cc:        "FreeBSD.org" <ports@FreeBSD.org>, Stanislav Sedov <ssedov@mbsd.msk.ru>
Subject:   Re: FreeBSD ports/security/pam_af/Makefile
Message-ID:  <20080125061059.GF82888@dracon.ht-systems.ru>
In-Reply-To: <4794E500.8030608@CoolRat.org>
References:  <4794E500.8030608@CoolRat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 21, 2008 at 01:31:28PM -0500 Yarema mentioned:
> 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.

Committed! Thanks a lot for noticing and fixing that!

It's highly appreciated!

-- 
Stanislav Sedov
ST4096-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080125061059.GF82888>