1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Add an OPTION to c++ support, off by default [1]

- Since I was here, make portlint a bit happier

PR:		ports/134298
Submitted by:	Renato Aquino <renato.aquino@bluepex.com.br>
Approved by:	maintainer timeout (over 2 weeks)
This commit is contained in:
Renato Botelho 2009-05-25 20:44:45 +00:00
parent ff1e2af941
commit c04ecf949b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234548

View File

@ -10,16 +10,17 @@ PORTNAME= xmlrpc-c
PORTVERSION= 1.18.00
CATEGORIES= net
MASTER_SITES= LOCAL/chinsan/xmlrpc-c
PKGNAMESUFFIX= -devel
EXTRACT_SUFX= .tgz
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
PKGNAMESUFFIX= -devel
MAINTAINER= chinsan@FreeBSD.org
COMMENT= XML-RPC library for C and C++
OPTIONS= DEBUG "Compile with debugging information" off \
CURL "Compile with curl support" on \
LIBWWW "Compile with libwww support" on
LIBWWW "Compile with libwww support" on \
CPLUSPLUS "Enable cpp headers and libs" off
CONFLICTS= xmlrpc-epi-0.* xmlrpc-c-[0-9]*
@ -40,6 +41,12 @@ USE_LDCONFIG= yes
CFLAGS+= -DNDEBUG
.endif
.if defined(WITH_CPLUSPLUS)
CONFIGURE_ARGS+= --enable-cplusplus
.else
CONFIGURE_ARGS+= --disable-cplusplus
.endif
.if defined(WITHOUT_CURL)
CONFIGURE_ARGS+= --disable-curl-client
.else