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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to