FreeBSD ports/security/pam_af/Makefile

Stanislav Sedov stas at FreeBSD.org
Thu Jan 24 22:11:02 PST 2008


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


More information about the freebsd-ports mailing list