summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2017-06-27 15:32:34 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2017-06-27 15:32:34 +0000
commit1f231aa4bef898a52005bb267e70d422b6bc7684 (patch)
tree41a16cc2c7ff2961c31bd3db7dc6f437ff754598
parentdevel/git-cinnabar: rebuild after r444462 (diff)
Enable building of shared libraries
Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D11352
-rw-r--r--devel/ffcall/Makefile7
-rw-r--r--devel/ffcall/pkg-plist6
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/ffcall/Makefile b/devel/ffcall/Makefile
index 5f28517bbbbd..8cdf0b781433 100644
--- a/devel/ffcall/Makefile
+++ b/devel/ffcall/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ffcall
PORTVERSION= 1.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GNUSTEP/libs
@@ -20,9 +20,14 @@ BROKEN_powerpc64= Does not build: No rule to make target avcall-powerpc64.lo
GNU_CONFIGURE= yes
USES= gmake libtool
+CONFIGURE_ARGS= --enable-shared
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -fPIC
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \
+ ${STAGEDIR}${PREFIX}/lib/libcallback.so
+
.include <bsd.port.mk>
diff --git a/devel/ffcall/pkg-plist b/devel/ffcall/pkg-plist
index 1cd780c04c22..f215f7bcaa7b 100644
--- a/devel/ffcall/pkg-plist
+++ b/devel/ffcall/pkg-plist
@@ -10,7 +10,13 @@ include/trampoline_r.h
include/vacall.h
include/vacall_r.h
lib/libavcall.a
+lib/libavcall.so
+lib/libavcall.so.0
+lib/libavcall.so.0.0.0
lib/libcallback.a
+lib/libcallback.so
+lib/libcallback.so.0
+lib/libcallback.so.0.0.0
lib/libtrampoline.a
lib/libvacall.a
share/html/avcall.html