ports/146881: [MAINTAINER] devel/mingw32-gcc: Disable building plugins on i386 so plist stays the same between archs
Naram Qashat
cyberbotx at cyberbotx.com
Sun May 23 22:06:57 UTC 2010
>Number: 146881
>Category: ports
>Synopsis: [MAINTAINER] devel/mingw32-gcc: Disable building plugins on i386 so plist stays the same between archs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun May 23 22:06:56 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Naram Qashat
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Fri Apr 16 09:09:45 EDT 2010
>Description:
Since gcc 4.5.0 has support for plugins, it tries to install headers for plugin
development, but only seems to do that under the i386 architecture. Adding
--disable-plugin prevents gcc 4.5.0 from installing those headers, making the
pkg-plist the same over all architectures.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- mingw32-gcc-4.5.0,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/mingw32-gcc/Makefile /kirby/shared/ports/mingw32-gcc/Makefile
--- /usr/ports/devel/mingw32-gcc/Makefile 2010-05-20 08:25:40.000000000 -0400
+++ /kirby/shared/ports/mingw32-gcc/Makefile 2010-05-23 13:58:24.000000000 -0400
@@ -45,7 +45,8 @@
--enable-threads --disable-nls --disable-shared \
--with-gmp=${LOCALBASE} --with-mpfr=${LOCALBASE} \
--includedir=${PREFIX}/${GCC_TARG}/include \
- --datadir=${PREFIX}/${GCC_TARG}/share
+ --datadir=${PREFIX}/${GCC_TARG}/share \
+ --disable-plugin
LIBTOOLFILES= configure gcc/configure
MAN1= ${PKGNAMEPREFIX}gcc.1 ${PKGNAMEPREFIX}cpp.1 \
${PKGNAMEPREFIX}gcov.1
@@ -78,10 +79,6 @@
.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386"
-BROKEN= missing files in plist
-.endif
-
.if defined(WITH_LANG_OBJCPP)
WITH_LANG_OBJC=true
WITH_LANG_CXX=true
--- mingw32-gcc-4.5.0,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list