013109f4a5
Approved by: portmgr (blanket)
32 lines
796 B
Makefile
32 lines
796 B
Makefile
# Created by: jagapen@home.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libffcall
|
|
PORTVERSION= 1.13
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= amutu@amutu.com
|
|
COMMENT= Foreign function call libraries
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
BROKEN_armv6= fails to build: avcall-armhf.s:46:2: error: '.syntax divided' arm assembly not supported
|
|
BROKEN_armv7= fails to build: avcall-armhf.s:46:2: error: '.syntax divided' arm assembly not supported
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
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 \
|
|
${STAGEDIR}${PREFIX}/lib/libtrampoline.so
|
|
|
|
.include <bsd.port.mk>
|