FreeBSD Bugzilla – Attachment 177970 Details for
Bug 215307
cad/openvsp: Fix compilation in 10.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to the ports tree
update-3.9.1-unbreak_10.1.patch (text/plain), 1018 bytes, created by
Fernando Apesteguía
on 2016-12-14 22:28:32 UTC
(
hide
)
Description:
patch to the ports tree
Filename:
MIME Type:
Creator:
Fernando Apesteguía
Created:
2016-12-14 22:28:32 UTC
Size:
1018 bytes
patch
obsolete
>diff -ruN /usr/ports/cad/openvsp/Makefile cad/openvsp/Makefile >--- /usr/ports/cad/openvsp/Makefile 2016-10-09 11:13:04.000000000 +0200 >+++ cad/openvsp/Makefile 2016-12-14 22:20:53.334227000 +0100 >@@ -4,6 +4,7 @@ > PORTNAME= openvsp > PORTVERSION= 3.9.1 > DISTVERSIONPREFIX= ${GH_PROJECT}_ >+PORTREVISION= 1 > CATEGORIES= cad > > MAINTAINER= fernando.apesteguia@gmail.com >@@ -38,7 +39,20 @@ > > CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject > CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} >-USES= cmake:outsource compiler:gcc-c++11-lib jpeg >+USES= cmake:outsource jpeg >+ >+.include <bsd.port.options.mk> >+ >+.if ${OSVERSION} == 1001000 >+# Fails to build with GCC 4.9 in 10.1 >+USE_GCC= 4.8 >+LDFLAGS+= -L${LOCALBASE}/lib/c++ >+CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 >+BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++ >+.else >+USES += compiler:gcc-c++11-lib >+.endif >+ > CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ > -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ > -DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \
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
Flags:
fernape
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 215307
: 177970