FreeBSD Bugzilla – Attachment 104484 Details for
Bug 144669
[patch] math/polymake fix build with gcc 4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.50 KB, created by
Andrius Morkunas
on 2010-03-11 21:00:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andrius Morkunas
Created:
2010-03-11 21:00:07 UTC
Size:
1.50 KB
patch
obsolete
>diff -ruN math/polymake.orig/Makefile math/polymake/Makefile >--- math/polymake.orig/Makefile 2009-05-13 09:45:54.000000000 +0000 >+++ math/polymake/Makefile 2010-02-02 18:03:43.106462396 +0000 >@@ -22,7 +22,6 @@ > USE_GMAKE= yes > USE_BZIP2= yes > USE_PERL5= 5.8.1+ >-USE_GCC= 3.4 > > HAS_CONFIGURE= yes > INSTALL_TARGET= install install-devel >@@ -36,6 +35,9 @@ > BROKEN= Does not build with perl >= 5.10 > .endif > >+pre-configure: >+ @${REINPLACE_CMD} -e 's|return "$$CXX seems not to be any|\#|' ${WRKSRC}/support/configure.pl >+ > do-configure: > cd ${WRKSRC}; \ > ${RM} -f build*/conf.make; \ >@@ -52,7 +54,7 @@ > ${ECHO_CMD} PerlExe='${PERL}'; \ > ${ECHO_CMD} Arch=; \ > ${ECHO_CMD} ProcessDep=none; \ >- } | ${GMAKE} configure >+ } | ${GMAKE} ${MAKE_ENV} LD=${LD} configure > > pre-install: > ${RM} -f `find ${WRKSRC} -name '*.orig'` >diff -ruN math/polymake.orig/files/patch-support_build.make math/polymake/files/patch-support_build.make >--- math/polymake.orig/files/patch-support_build.make 1970-01-01 00:00:00.000000000 +0000 >+++ math/polymake/files/patch-support_build.make 2010-02-02 15:33:25.058919695 +0000 >@@ -0,0 +1,13 @@ >+--- support/build.make 2007-01-17 16:25:44.000000000 +0000 >++++ support/build.make 2010-01-28 22:51:05.116780927 +0000 >+@@ -134,10 +134,6 @@ >+ endif >+ endif # !SourceDir >+ >+-ifeq "$(COMOversion)$(ICCversion)$(GCCversion)" "" >+- $(error unknown C++ compiler) >+-endif >+- >+ ifdef COMOversion >+ addinclude = -I$(patsubst $/,%,$(dir $(1))) --preinclude $(notdir $(1)) >+ make_dep_opt := -MD --no_preproc_only
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144669
: 104484
Working