svn commit: r324129 - head/security/zxid
Baptiste Daroussin
bapt at FreeBSD.org
Thu Aug 1 21:25:36 UTC 2013
Author: bapt
Date: Thu Aug 1 21:25:35 2013
New Revision: 324129
URL: http://svnweb.freebsd.org/changeset/ports/324129
Log:
Properly fix build with clang
Fix build without gcc
Modified:
head/security/zxid/Makefile
Modified: head/security/zxid/Makefile
==============================================================================
--- head/security/zxid/Makefile Thu Aug 1 21:21:30 2013 (r324128)
+++ head/security/zxid/Makefile Thu Aug 1 21:25:35 2013 (r324129)
@@ -18,7 +18,8 @@ MAKE_JOBS_UNSAFE= yes
CFLAGS+= -D_LSEEK_DECLARED -fPIC
MAKE_ARGS= CC="${CC}" CURL_ROOT="${LOCALBASE}" LD="${CC}" \
PREFIX="${PREFIX}" OPENSSL_ROOT="${OPENSSLBASE}"
-USE_GMAKE= yes
+USES= gmake
+USE_CSTD= gnu89
USE_LDCONFIG= yes
USE_OPENSSL= yes
@@ -29,7 +30,7 @@ ZXID_BINS= smime zxcall zxcot zxdecode z
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's/__inline//g' ${WRKSRC}/c/zx-attrs.c
+ @${REINPLACE_CMD} -e '/which gcc/d' ${WRKSRC}/Makefile
post-install:
${MKDIR} ${PREFIX}/include/zxid/
More information about the svn-ports-head
mailing list