svn commit: r482113 - head/math/cddlib

Mathieu Arnold mat at FreeBSD.org
Mon Oct 15 07:47:39 UTC 2018


On Sun, Oct 14, 2018 at 08:41:33PM +0000, Fernando Apesteguía wrote:
> Author: fernape
> Date: Sun Oct 14 20:41:33 2018
> New Revision: 482113
> URL: https://svnweb.freebsd.org/changeset/ports/482113
> 
> Log:
>   math/cddlib: strip .so objects
>   
>   Reported by:	mat@
> 
> Modified:
>   head/math/cddlib/Makefile
> 
> Modified: head/math/cddlib/Makefile
> ==============================================================================
> --- head/math/cddlib/Makefile	Sun Oct 14 20:17:25 2018	(r482112)
> +++ head/math/cddlib/Makefile	Sun Oct 14 20:41:33 2018	(r482113)
> @@ -2,7 +2,7 @@
>  
>  PORTNAME=	cddlib
>  PORTVERSION=	0.94j
> -PORTREVISION=	1
> +PORTREVISION=	2
>  CATEGORIES=	math
>  
>  MAINTAINER=	phascolarctos at protonmail.ch
> @@ -47,5 +47,8 @@ post-install-MANUAL-on:
>  post-install-EXAMPLES-on:
>  	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
>  	cd ${WRKSRC} && ${COPYTREE_SHARE} "examples*" ${STAGEDIR}${EXAMPLESDIR}
> +
> +post-install:
> +	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so

Mmmm, first, no need to add a post-install, just put the STRIP command
with the installation commands.

Then, I assumed from the COPYTREE_* macros that there was a hierachy of
files being installed.  If not the case, maybe using INSTALL_LIB would
be preferable.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20181015/4bba7481/attachment.sig>


More information about the svn-ports-all mailing list