ports/146746: unbroke port cad/calculix
Stas Timokhin
devel at stasyan.com
Thu May 20 04:00:16 UTC 2010
>Number: 146746
>Category: ports
>Synopsis: unbroke port cad/calculix
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 20 04:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Stas Timokhin
>Release: 8.0-release
>Organization:
None
>Environment:
>Description:
Fixed by using gcc 4.4 linker instead default (cxx).
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2010-05-19 13:34:09.000000000 +0700
+++ Makefile 2010-05-19 14:16:42.000000000 +0700
@@ -7,7 +7,7 @@
PORTNAME= CalculiX
PORTVERSION= 2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= http://www.dhondt.de/
DISTFILES= ${DIST_SOURCES}
@@ -34,7 +34,6 @@
metis.1:${PORTSDIR}/math/metis \
taucs.1:${PORTSDIR}/math/taucs
-BROKEN= does not compile
USE_BZIP2= yes
@@ -71,6 +70,7 @@
.endif
USE_FORTRAN= yes
+USE_GCC= 4.4
.if ${ARCH} == "sparc64"
CFLAGS+= -fPIC
@@ -102,6 +102,8 @@
@${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+g; \
s+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' \
${WRKSRC}/cgx_${PORTVERSION}/src/Makefile
+ @${REINPLACE_CMD} -e 's/c++/${CXX}/g;' \
+ ${WRKSRC}/libSNL/src/makefile
@${REINPLACE_CMD} -e 's+%%DOCSDIR%%+${DOCSDIR}+g; \
s+"mozilla"+"${BROWSER}"+ ; \
s+"ghostview"+"${PSVIEWER}"+ ;' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list