From c094eff5d50f2e6effcafcebd934747250525924 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 16 May 2014 15:29:38 +0000 Subject: [PATCH] . Fix LICENSE . USe USES=tar:xz . Strip binaries --- net/xmlrpc-c-devel/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile index 0bbb3be757fa..f2a5d8b33ee4 100644 --- a/net/xmlrpc-c-devel/Makefile +++ b/net/xmlrpc-c-devel/Makefile @@ -10,7 +10,7 @@ PKGNAMESUFFIX= -devel MAINTAINER= garga@FreeBSD.org COMMENT= XML-RPC library for C and C++ -LICENSE= BSD +LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DEBUG CURL LIBWWW CPLUSPLUS OPTIONS_DEFAULT=CURL LIBWWW CPLUSPLUS @@ -20,12 +20,13 @@ CPLUSPLUS_DESC= Build xmlrpc-c c++ libs and tools CONFLICTS= xmlrpc-epi-0.* xmlrpc-c-[0-9]* -USES= gmake +USES= gmake tar:xz OPTIONS_SUB= yes -USE_XZ= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile MAKE_JOBS_UNSAFE= yes +MAKE_ENV+= INSTALL_SHLIB="${INSTALL_LIB}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" USE_LDCONFIG= yes CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl @@ -60,5 +61,7 @@ post-patch: ${WRKSRC}/src/xmlrpc_server_abyss.c @${REINPLACE_CMD} -e 's,sys/unistd.h,unistd.h,' \ ${WRKSRC}/test/cpp/server_abyss.cpp + @${REINPLACE_CMD} -e '/^INSTALL_/s/=/\?=/' \ + ${WRKSRC}/config.mk.in .include