svn commit: r332308 - head/net/xmlrpc-c

Renato Botelho garga at FreeBSD.org
Thu Oct 31 23:40:30 UTC 2013


Author: garga
Date: Thu Oct 31 23:40:29 2013
New Revision: 332308
URL: http://svnweb.freebsd.org/changeset/ports/332308

Log:
  Simplify Makefile

Modified:
  head/net/xmlrpc-c/Makefile

Modified: head/net/xmlrpc-c/Makefile
==============================================================================
--- head/net/xmlrpc-c/Makefile	Thu Oct 31 23:40:02 2013	(r332307)
+++ head/net/xmlrpc-c/Makefile	Thu Oct 31 23:40:29 2013	(r332308)
@@ -28,26 +28,17 @@ MAKE_ARGS=	LIBTOOL="${LIBTOOL}" \
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
 
+CURL_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
+CURL_CONFIGURE_ENABLE=	curl-client
+LIBWWW_LIB_DEPENDS=	libwwwcore.so:${PORTSDIR}/www/libwww
+LIBWWW_CONFIGURE_ENABLE=libwww-client
+
 .include <bsd.port.pre.mk>
 
 .if empty(PORT_OPTIONS:MDEBUG)
 CFLAGS+=	-DNDEBUG
 .endif
 
-.if ${PORT_OPTIONS:MCURL}
-LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
-CONFIGURE_ARGS+=	--enable-curl-client
-.else
-CONFIGURE_ARGS+=	--disable-curl-client
-.endif
-
-.if ${PORT_OPTIONS:MLIBWWW}
-LIB_DEPENDS+=	wwwcore:${PORTSDIR}/www/libwww
-CONFIGURE_ARGS+=	--enable-libwww-client
-.else
-CONFIGURE_ARGS+=	--disable-libwww-client
-.endif
-
 post-extract:
 	@${FIND} ${WRKSRC} -type l -name blddir -delete
 	@${FIND} ${WRKSRC} -type l -name srcdir -delete


More information about the svn-ports-head mailing list