aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-12-04 18:48:48 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-12-04 18:48:48 +0000
commit064f57d542699094f5386d4021ab5656bc67d659 (patch)
tree5061d096f918b500469fe8a4783a99b34e561de2 /cad
parentc617959ef58a474d834596517f12f87c77a9fd3b (diff)
downloadports-064f57d542699094f5386d4021ab5656bc67d659.tar.gz
ports-064f57d542699094f5386d4021ab5656bc67d659.zip
Notes
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}"