aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-12 13:50:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-12 13:50:09 +0000
commit627a39ada05d420d5a999e355cdfc1f1d5241699 (patch)
tree10eb2500f6f105bbf16ed0fc31a2e663cd7b2a44 /lang
parent2050793b5d509c473041c6d05b75bff33b6d141b (diff)
downloadports-627a39ada05d420d5a999e355cdfc1f1d5241699.tar.gz
ports-627a39ada05d420d5a999e355cdfc1f1d5241699.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/libobjc2/Makefile15
-rw-r--r--lang/libobjc2/pkg-plist3
2 files changed, 0 insertions, 18 deletions
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile
index 35e8c3904025..f6345ad251f9 100644
--- a/lang/libobjc2/Makefile
+++ b/lang/libobjc2/Makefile
@@ -18,33 +18,18 @@ BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly
USE_GITHUB= yes
GH_ACCOUNT= gnustep
-.include <bsd.port.options.mk>
-
SHLIB_MAJOR= 4
SHLIB_MINOR= 6
PLIST_SUB+= SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
-.if ${OSVERSION} < 902000
-CMAKE_ARGS+= -DFORCE_LIBOBJCXX=ON
-PLIST_SUB+= WITH_SEPARATECXX=""
-.else
-PLIST_SUB+= WITH_SEPARATECXX="@comment "
-.endif
-
CMAKE_ARGS+= -DLIB_INSTALL_PATH=lib
CMAKE_ARGS+= -DTESTS=OFF
# This shouldn't be needed, but our llvm port installs llvm-config with a silly
# name...
CMAKE_ARGS+= -DLLVM_OPTS=OFF
-.if ${OSVERSION} < 902000
-post-install:
- ${LN} -sf libobjc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjc.so.${SHLIB_MAJOR}
- ${LN} -sf libobjcxx.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjcxx.so.${SHLIB_MAJOR}
-.else
post-install:
${LN} -sf libobjc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjc.so.${SHLIB_MAJOR}
-.endif
.include <bsd.port.mk>
diff --git a/lang/libobjc2/pkg-plist b/lang/libobjc2/pkg-plist
index 7873747d1624..04c9b2bd7c1e 100644
--- a/lang/libobjc2/pkg-plist
+++ b/lang/libobjc2/pkg-plist
@@ -18,6 +18,3 @@ include/objc/slot.h
lib/libobjc.so
lib/libobjc.so.%%SHLIB_MAJOR%%
lib/libobjc.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
-%%WITH_SEPARATECXX%%lib/libobjcxx.so
-%%WITH_SEPARATECXX%%lib/libobjcxx.so.%%SHLIB_MAJOR%%
-%%WITH_SEPARATECXX%%lib/libobjcxx.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%