| @@ -1,44 +1,44 @@ | | | @@ -1,44 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.33 2013/09/12 18:52:54 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2013/11/14 08:01:11 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= xmlrpc-c-1.25.25 | | 3 | DISTNAME= xmlrpc-c-1.25.26 |
4 | # the "super stable" branch | | 4 | # the "super stable" branch |
5 | PKGNAME= ${DISTNAME:S/-c-/-c-ss-/} | | 5 | PKGNAME= ${DISTNAME:S/-c-/-c-ss-/} |
6 | CATEGORIES= textproc devel | | 6 | CATEGORIES= textproc devel |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/} |
8 | EXTRACT_SUFX= .tgz | | 8 | EXTRACT_SUFX= .tgz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://xmlrpc-c.sourceforge.net/ | | 11 | HOMEPAGE= http://xmlrpc-c.sourceforge.net/ |
12 | COMMENT= Library for writing an XML-RPC server or client in C or C++ | | 12 | COMMENT= Library for writing an XML-RPC server or client in C or C++ |
13 | LICENSE= modified-bsd | | 13 | LICENSE= modified-bsd |
14 | | | 14 | |
15 | CONFLICTS+= xmlrpc-c-[0-9]* | | 15 | CONFLICTS+= xmlrpc-c-[0-9]* |
16 | SUPERSEDES+= xmlrpc-c-[0-9]* | | 16 | SUPERSEDES+= xmlrpc-c-[0-9]* |
17 | | | 17 | |
18 | # Sometimes can't open ../xmltok/libxmlrpc_xmltok.la | | 18 | # Sometimes can't open ../xmltok/libxmlrpc_xmltok.la |
19 | #MAKE_JOBS_SAFE= no | | 19 | #MAKE_JOBS_SAFE= no |
20 | | | 20 | |
21 | USE_LANGUAGES= c99 c++ | | 21 | USE_LANGUAGES= c99 c++ |
22 | USE_LIBTOOL= yes | | 22 | USE_LIBTOOL= yes |
23 | USE_TOOLS+= gmake | | 23 | USE_TOOLS+= gmake |
24 | GNU_CONFIGURE= yes | | 24 | GNU_CONFIGURE= yes |
25 | MAKE_FILE= GNUmakefile | | 25 | MAKE_FILE= GNUmakefile |
26 | MAKE_ENV= CFLAGS_COMMON=${CFLAGS:M*:Q} | | 26 | MAKE_ENV= CFLAGS_COMMON=${CFLAGS:M*:Q} |
27 | MAKE_ENV+= CXXFLAGS_COMMON=${CXXFLAGS:M*:Q} | | 27 | MAKE_ENV+= CXXFLAGS_COMMON=${CXXFLAGS:M*:Q} |
28 | MAKE_ENV+= LADD=${LDFLAGS:M*:Q} | | 28 | MAKE_ENV+= LADD=${LDFLAGS:M*:Q} |
29 | TEST_TARGET= check | | 29 | TEST_TARGET= check |
30 | | | 30 | |
31 | PTHREAD_LINKFLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} | | 31 | PTHREAD_LINKFLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} |
32 | SUBST_CLASSES+= pthread | | 32 | SUBST_CLASSES+= pthread |
33 | SUBST_STAGE.pthread= pre-configure | | 33 | SUBST_STAGE.pthread= pre-configure |
34 | SUBST_MESSAGE.pthread= Fixing config scripts. | | 34 | SUBST_MESSAGE.pthread= Fixing config scripts. |
35 | SUBST_FILES.pthread= xmlrpc-c-config.* xmlrpc-c-config.test.* | | 35 | SUBST_FILES.pthread= xmlrpc-c-config.* xmlrpc-c-config.test.* |
36 | SUBST_SED.pthread= -e 's/-lpthread/${PTHREAD_LINKFLAGS:Q}/' | | 36 | SUBST_SED.pthread= -e 's/-lpthread/${PTHREAD_LINKFLAGS:Q}/' |
37 | SUBST_SED.pthread+= -e 's/-L\(.\)libdir/-L\1libdir ${COMPILER_RPATH_FLAG}\1libdir/' | | 37 | SUBST_SED.pthread+= -e 's/-L\(.\)libdir/-L\1libdir ${COMPILER_RPATH_FLAG}\1libdir/' |
38 | | | 38 | |
39 | LDFLAGS.OpenBSD+= ${PTHREAD_LINKFLAGS} | | 39 | LDFLAGS.OpenBSD+= ${PTHREAD_LINKFLAGS} |
40 | | | 40 | |
41 | .include "../../www/curl/buildlink3.mk" | | 41 | .include "../../www/curl/buildlink3.mk" |
42 | .include "../../www/libwww/buildlink3.mk" | | 42 | .include "../../www/libwww/buildlink3.mk" |
43 | .include "../../mk/pthread.buildlink3.mk" | | 43 | .include "../../mk/pthread.buildlink3.mk" |
44 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |