svn commit: r361725 - head/devel/psptoolchain-binutils

Tijl Coosemans tijl at FreeBSD.org
Mon Jul 14 08:04:29 UTC 2014


On Mon, 14 Jul 2014 09:59:11 +0200 John Marino wrote:
> On 7/14/2014 09:36, Tijl Coosemans wrote:
>> On Sun, 13 Jul 2014 23:20:35 +0000 (UTC) John Marino wrote:
>>> Author: marino
>>> Date: Sun Jul 13 23:20:34 2014
>>> New Revision: 361725
>>> URL: http://svnweb.freebsd.org/changeset/ports/361725
>>> QAT: https://qat.redports.org/buildarchive/r361725/
>>>
>>> Log:
>>>   devel/psptoolchain-binutils: Fix stage support for DragonFly
>>>   
>>>   The configure target was hardcoded for FreeBSD.  This change fixes the
>>>   build on DragonFly while being a No-Op for FreeBSD.
>>>
>>> Modified:
>>>   head/devel/psptoolchain-binutils/Makefile
>>>
>>> Modified: head/devel/psptoolchain-binutils/Makefile
>>> ==============================================================================
>>> --- head/devel/psptoolchain-binutils/Makefile	Sun Jul 13 23:13:32 2014	(r361724)
>>> +++ head/devel/psptoolchain-binutils/Makefile	Sun Jul 13 23:20:34 2014	(r361725)
>>> @@ -17,7 +17,7 @@ USES=		gmake tar:bzip2 libtool
>>>  USE_GCC=	any
>>>  
>>>  HAS_CONFIGURE=	yes
>>> -CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-unknown-freebsd${OSREL}
>>> +CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
>>>  CONFIGURE_ARGS=	--prefix=${PREFIX} \
>>>  		--target="psp" \
>>>  		--enable-install-libbfd \
>> 
>> You should probably scan the entire tree for cases like this and modify
>> bsd.port.mk as well because that's where it gets copy-pasted from.
> 
> bsd.port.mk has been adjusted automatically for dports so that's fine.
> The only issue comes when ports try to override the CONFIGURE_TARGET,
> often unnecessarily.   Over the last year, I've either gotten most of
> them or I've handled it with local patches.

If you don't modify bsd.port.mk these kind of problems will keep
popping up forever.


More information about the svn-ports-head mailing list