1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/libobjc2/Makefile
Brooks Davis 3a34ffa58f Update Objective-C LLVM version to 6.0.
Fixes aarch64 build.  Reduces depends on obsolete LLVM 4.0.

PR:		230116
Submitted by:	mikael.urankar@gmail.com
Approved by:	theraven (prior version)
Sponsored by:	DARPA, AFRL
2018-09-26 15:23:37 +00:00

37 lines
959 B
Makefile

# Created by: Pete French <pete@twisted.org.uk>
# $FreeBSD$
PORTNAME= libobjc2
PORTVERSION= 1.8.1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= lang devel gnustep
MAINTAINER= theraven@FreeBSD.org
COMMENT= Replacement Objective-C runtime supporting modern Objective-C features
BROKEN_powerpc= Does not compile on powerpc: Unsupported relocation type 10
BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly
USES= cmake compiler:c++11-lang objc:compiler
USE_GITHUB= yes
GH_ACCOUNT= gnustep
SSP_UNSAFE= yes
SHLIB_MAJOR= 4
SHLIB_MINOR= 6
PLIST_SUB+= SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
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
post-install:
${LN} -sf libobjc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjc.so.${SHLIB_MAJOR}
.include <bsd.port.mk>