Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:40:30 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332308 - head/net/xmlrpc-c
Message-ID:  <201310312340.r9VNeUrs014234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310312340.r9VNeUrs014234>