unbreak devel/smake

Andriy Gapon avg at freebsd.org
Sat Dec 5 13:29:55 UTC 2009


on 04/12/2009 10:41 Andriy Gapon said the following:
> Here is a straightforward change to resolve name conflict between fexecve(2) and
>  same named function in smake sources:
> 
> .if ${OSVERSION} >= 800032
> post-patch:
> 	@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} \
> 		-e 's/fexecve/fexecve_bsd/'
> .endif
> 
> 
> OSVERSION condition is actually not necessary, I kept it just for clarity.

Hmm, there is an easier and better patch.
Just bump version to the latest 1.2.a.48 and drop BROKEN.
Apparently Joerg Schilling was aware of the name clash and fixed it.


-- 
Andriy Gapon


More information about the freebsd-ports mailing list