diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 00:50:39 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 00:50:39 +0000 |
commit | c2df23aef78887e44bc4535551635301e8b498eb (patch) | |
tree | 9421f3e7dedf2127d0dab9c07649a75f4123ac5f /cad/tochnog | |
parent | ce2e8379832cd4b251bfc0b01ea694ee59729366 (diff) | |
download | ports-c2df23aef78887e44bc4535551635301e8b498eb.tar.gz ports-c2df23aef78887e44bc4535551635301e8b498eb.zip |
Notes
Diffstat (limited to 'cad/tochnog')
-rw-r--r-- | cad/tochnog/Makefile | 4 | ||||
-rw-r--r-- | cad/tochnog/files/patch-makefile | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index b1ca841911d9..2fd45094fe31 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -26,7 +26,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500113 -USE_GCC= 2.95 +USE_GCC= 2.95 # 3.2 should also work !! .endif USE_REINPLACE= yes @@ -63,7 +63,7 @@ post-patch: .endif post-build: - @(cd ${WRKDIR}/tochnog/tools; ${CXX} ${CFLAGS} -o aba2tn aba2tn.cc) + @(cd ${WRKDIR}/tochnog/tools; ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${PREFIX}/bin diff --git a/cad/tochnog/files/patch-makefile b/cad/tochnog/files/patch-makefile index fd9d6fcf31fc..c6d77afd049f 100644 --- a/cad/tochnog/files/patch-makefile +++ b/cad/tochnog/files/patch-makefile @@ -29,7 +29,7 @@ -COMPILER_FLAGS= -c -O2 -w- +COMPILER_C=$(CC) +COMPILER_CPP=$(CXX) -+COMPILER_FLAGS=$(CFLAGS) -c ++COMPILER_FLAGS=$(CXXFLAGS) -c OBJ=obj -LINK_FLAGS_BEFORE= -l$(F2C) +LINK_FLAGS_BEFORE= -l$(F2C) -L%%LOCALBASE%%/lib @@ -72,7 +72,7 @@ - "COMPILER_C=gcc" \ - "COMPILER_CPP=g++" \ - "COMPILER_FLAGS= -ansi -c -O2 -Wall $(PROFILE) $(ALL_INCLUDE)" \ -+ "COMPILER_FLAGS= -c ${CFLAGS} $(ALL_INCLUDE)" \ ++ "COMPILER_FLAGS= -c ${CXXFLAGS} $(ALL_INCLUDE)" \ "LINK_FLAGS_BEFORE=" \ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -static -lm -o tochnog" @@ -81,7 +81,7 @@ + make tochnog \ + "SYS_FILE=sysposix" \ + "OBJ=o" \ -+ "COMPILER_FLAGS= -c ${CFLAGS} %%PTHREAD_CFLAGS%% -D_REENTRANT $(ALL_INCLUDE)" \ ++ "COMPILER_FLAGS= -c ${CXXFLAGS} %%PTHREAD_CFLAGS%% -D_REENTRANT $(ALL_INCLUDE)" \ + "LINK_FLAGS_BEFORE=" \ + "LINK_FLAGS_AFTER= $(ALL_LIB) %%PTHREAD_LIBS%% -static -lm -o tochnog" + |