36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2008/02/02 13:38:53 heinz Exp $
|
|
#
|
|
|
|
DISTNAME= xmlrpc-c-1.09.00
|
|
PKGREVISION= 3
|
|
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++
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# Sometimes can't open ../xmltok/libxmlrpc_xmltok.la
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
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"
|