aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-12-05 02:48:48 +0800
committermakc <makc@FreeBSD.org>2013-12-05 02:48:48 +0800
commit09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea (patch)
tree5061d096f918b500469fe8a4783a99b34e561de2 /cad
parentfbb80f7bf3ced094924d4ffd7fb6177a8e633591 (diff)
downloadfreebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.tar.gz
freebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.tar.zst
freebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.zip
- Respect CMAKE_BUILD_TYPE
Approved by: portmgr (bapt)
Diffstat (limited to 'cad')
-rw-r--r--cad/brlcad/Makefile18
-rw-r--r--cad/kicad-devel/Makefile3
2 files changed, 2 insertions, 19 deletions
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index 1fdb1002f113..d261fff8915d 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -39,21 +39,7 @@ CFLAGS+= -I${LOCALBASE}/include
CMAKE_ARGS= -DBRLCAD_ENABLE_STRICT:BOOL=OFF
MANPREFIX= ${PREFIX}/share
-OPTIONS_DEFINE= OPTIMIZATION
-OPTIMIZATION_DESC= Build with optimizations
-OPTIONS_DEFAULT= OPTIMIZATION
-
-.include <bsd.port.pre.mk>
-
-EXTRA_LIBS= -pthread
-
-.if ${PORT_OPTIONS:MOPTIMIZATION}
-CMAKE_BUILD_TYPE=Release
-.endif
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64: invokes i386 assembler
-.endif
+BROKEN_sparc64= does not compile: invokes i386 assembler
post-patch:
@${REINPLACE_CMD} "s+-exact Tcl 8\.5\.1+Tcl 8.5+" ${WRKSRC}/src/other/tcl/library/init.tcl
@@ -73,4 +59,4 @@ post-install:
regression-test: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index 4e8facd3ebfa..28cb2327411f 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/Makefile
@@ -44,9 +44,6 @@ EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \
USE_GCC= yes
USES= cmake gettext
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
- -DCMAKE_C_COMPILER=gcc \
- -DCMAKE_CXX_COMPILER=g++ \
- -DCMAKE_BUILD_TYPE=Release \
-DKICAD_TESTING_VERSION=ON \
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"