[Midnightbsd-cvs] mports: net/xmlrpc-c: update to 1.06.27
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Aug 21 15:19:06 EDT 2008
Log Message:
-----------
update to 1.06.27
Modified Files:
--------------
mports/net/xmlrpc-c:
Makefile (r1.1 -> r1.2)
distinfo (r1.1 -> r1.2)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/xmlrpc-c/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/xmlrpc-c/Makefile -L net/xmlrpc-c/Makefile -u -r1.1 -r1.2
--- net/xmlrpc-c/Makefile
+++ net/xmlrpc-c/Makefile
@@ -7,44 +7,50 @@
#
PORTNAME= xmlrpc-c
-PORTVERSION= 1.06.23
+PORTVERSION= 1.06.27
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= xmlrpc-${PORTVERSION}
+MASTER_SITES= SF
EXTRACT_SUFX= .tgz
+DISTFILES= ${PORTNAME:S/-c//}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= luke at MidnightBSD.org
COMMENT= XML-RPC library for C and C++
-OPTIONS= CURL "Compile with curl support" on \
+OPTIONS= DEBUG "Compile with debugging information" off \
+ CURL "Compile with curl support" on \
LIBWWW "Compile with libwww support" off
-USE_AUTOTOOLS= libtool:15:env
+CONFLICTS= xmlrpc-epi-0.*
+
+USE_GNOME= gnometarget
+USE_PERL5= yes
USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15:env
GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-USE_PERL5= yes
MAKEFILE= GNUmakefile
-MAKE_ENV+= CFLAGS_FREEBSD="${CFLAGS}" \
- CXXFLAGS_FREEBSD="${CXXFLAGS}"
-
-CONFLICTS= xmlrpc-epi-0.*
+MAKE_ARGS= LIBTOOL="${LIBTOOL}" \
+ CFLAGS_COMMON="${CFLAGS}" \
+ CXXFLAGS_COMMON="${CXXFLAGS}"
+USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if defined(WITH_LIBWWW) || (!defined(WITHOUT_LIBWWW) && exists(${LOCALBASE}/lib/libwwwcore.so.1))
-LIB_DEPENDS+= wwwcore.1:${PORTSDIR}/www/libwww
-OPT_LIBWWW= yes
-.else
-CONFIGURE_ARGS+= --disable-libwww-client
+.if !defined(WITH_DEBUG)
+CFLAGS+= -DNDEBUG
.endif
-.if !defined(WITHOUT_CURL)
+.if defined(WITHOUT_CURL)
+CONFIGURE_ARGS+= --disable-curl-client
+.else
LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl
OPT_CURL= yes
+.endif
+
+.if defined(WITH_LIBWWW)
+LIB_DEPENDS+= wwwcore.1:${PORTSDIR}/www/libwww
+OPT_LIBWWW= yes
.else
-CONFIGURE_ARGS+= --disable-curl-client
+CONFIGURE_ARGS+= --disable-libwww-client
.endif
.if !defined(OPT_LIBWWW) && !defined(OPT_CURL)
@@ -53,8 +59,12 @@
PLIST_SUB+= CLIENT=""
.endif
+post-extract:
+ @${FIND} ${WRKSRC} -type l -name blddir | ${XARGS} ${RM}
+ @${FIND} ${WRKSRC} -type l -name srcdir | ${XARGS} ${RM}
+
post-patch:
- @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
- ${WRKSRC}/configure
+ @${GREP} -lR '\-lpthread' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g'
.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/net/xmlrpc-c/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/xmlrpc-c/distinfo -L net/xmlrpc-c/distinfo -u -r1.1 -r1.2
--- net/xmlrpc-c/distinfo
+++ net/xmlrpc-c/distinfo
@@ -1,3 +1,3 @@
-MD5 (xmlrpc-1.06.23.tgz) = e519a43145b90e814fcfb0af1db1d91c
-SHA256 (xmlrpc-1.06.23.tgz) = 4ea6cbf202a190675d0f3addf93161b4e575758d17e4444ccbcb6ee879861359
-SIZE (xmlrpc-1.06.23.tgz) = 703495
+MD5 (xmlrpc-1.06.27.tgz) = bd58eae4f4ff3a5c469702dfeea55ec6
+SHA256 (xmlrpc-1.06.27.tgz) = 04e81ec9f4b0e586be41ccffd402f42b6c268ec2fc7875d44fcbb4ba7a660378
+SIZE (xmlrpc-1.06.27.tgz) = 699510
More information about the Midnightbsd-cvs
mailing list