023a27cd89
incomplete pkg installation w/o DESTDIR (PR pkg/42297 by Brad Harder) bump PKGREVISION
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2009/11/10 21:25:57 drochner Exp $
|
|
|
|
DISTNAME= xmlrpc-c-1.06.38
|
|
# the "super stable" branch
|
|
PKGNAME= xmlrpc-c-ss-1.06.38
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://xmlrpc-c.sourceforge.net/
|
|
COMMENT= Library for writing an XML-RPC server or client in C or C++
|
|
|
|
CONFLICTS+= xmlrpc-c-[0-9]*
|
|
SUPERSEDES+= xmlrpc-c-[0-9]*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# Sometimes can't open ../xmltok/libxmlrpc_xmltok.la
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_LANGUAGES= c99 c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
MAKE_FILE= GNUmakefile
|
|
MAKE_ENV= CFLAGS_COMMON=${CFLAGS:M*:Q}
|
|
MAKE_ENV+= CXXFLAGS_COMMON=${CXXFLAGS:M*:Q}
|
|
MAKE_ENV+= LADD=${LDFLAGS:M*:Q}
|
|
TEST_TARGET= check
|
|
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_FILES.pthread= xmlrpc-c-config.in xmlrpc-c-config.test.in
|
|
PTHREAD_LINKFLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
|
|
SUBST_SED.pthread= -e s/-lpthread/${PTHREAD_LINKFLAGS:Q}/
|
|
SUBST_SED.pthread+= -e "s/-L\(.\)libdir/-L\1libdir ${COMPILER_RPATH_FLAG}\1libdir/"
|
|
SUBST_STAGE.pthread= pre-configure
|
|
SUBST_MESSAGE.pthread= Fixing config scripts.
|
|
|
|
.include "../../www/libwww/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|