svn commit: r384052 - in head/games/tomenet: . files

John Marino freebsd.contact at marino.st
Wed Apr 15 14:13:10 UTC 2015


On 4/15/2015 15:54, Dmitry Marakasov wrote:
> Author: amdmi3
> Date: Wed Apr 15 13:54:43 2015
> New Revision: 384052
> URL: https://svnweb.freebsd.org/changeset/ports/384052
> 
> Log:
>   - Fix build on < 10.x
>   - Respect CC
>   
>   Approved by:	portmgr blanket
> 
> Modified:
>   head/games/tomenet/Makefile
>   head/games/tomenet/files/patch-makefile
> 
> Modified: head/games/tomenet/Makefile
> ==============================================================================
> --- head/games/tomenet/Makefile	Wed Apr 15 13:46:34 2015	(r384051)
> +++ head/games/tomenet/Makefile	Wed Apr 15 13:54:43 2015	(r384052)
> @@ -31,6 +31,12 @@ OPTIONS_DEFINE=	DOCS
>  
>  .include <bsd.port.options.mk>
>  
> +.if ${OSVERSION} < 1000000
> +LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
> +CFLAGS+=	-I${LOCALBASE}/include
> +LIBS+=		-L${LOCALBASE}/lib
> +.endif
> +

1) OSVERSION is used without OPSYS here
2) it matters because DragonFly needs libexecinfo
3) why wasn't USES+= libexec used?

Thanks,
John







More information about the svn-ports-all mailing list