ports/121547: [PATCH] Fix build of swig with php
Mel
mel at rachie.is-a-geek.net
Sun Mar 9 21:20:01 UTC 2008
>Number: 121547
>Category: ports
>Synopsis: [PATCH] Fix build of swig with php
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 09 21:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Mel
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD smoochies.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #3: Tue Mar 4 09:11:17 AKST 2008 root at smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC-ULE i386
>Description:
Swig doens't build with php option enabled, because of a bogus assumption in
the swig configure script.
>How-To-Repeat:
Have php with cli enable in PATH and cd /usr/ports/devel/swig13 && make build
>Fix:
--- Makefile.orig 2008-03-09 00:05:45.000000000 -0900
+++ Makefile 2008-03-09 12:42:47.000000000 -0800
@@ -32,6 +32,7 @@
post-patch:
${REINPLACE_CMD} -e 's/SKIP_CHICKEN=$$/&"1"/' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|$$RUBY |${RUBY} |' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|^PHP4CONFIG=.*$$|PHP4CONFIG=php-config|' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/Lib/lua/luarun.swg
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list