svn commit: r396965 - head/textproc/smi

Jan Beich jbeich at FreeBSD.org
Tue Sep 15 21:51:29 UTC 2015


Jason Unovitch <junovitch at FreeBSD.org> writes:

>   textproc/smi: Remove PREFIX and MANPREFIX edits inherited through MAKE_ENV
>
>   PR:		196224
>   Reported by:	jbeich
[...]
>  post-patch:
> -	${REINPLACE_CMD} -e 's|^CC = .*|CC = ${CC}|' \
> -			 -e 's|^PREFIX = .*|PREFlX = ${PREFIX}|' \
> -			 -e 's|^MANPREFIX = .*|MANPREFIX = ${MANPREFIX}|' \
> -			 ${WRKSRC}/config.mk
> +	${REINPLACE_CMD} -e 's|^CC = .*|CC = ${CC}|' ${WRKSRC}/config.mk
>  
>  do-install:
>  	${INSTALL_PROGRAM} ${WRKSRC}/smi ${STAGEDIR}${PREFIX}/bin
>

The commit message is misleading. PREFIX and MANPREFIX from MAKE_ENV
(unlike MAKE_ARGS) are not inherited but unused due to custom do-install
in the port.

do-install and post-patch existence suggest vendor Makefile isn't very
useful and is riddled with issues. For an unfixed one, see bug 203137.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20150915/405556f9/attachment.bin>


More information about the svn-ports-head mailing list