unbreak devel/smake

Andriy Gapon avg at icyb.net.ua
Fri Dec 4 08:42:30 UTC 2009


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.

-- 
Andriy Gapon


More information about the freebsd-ports mailing list