Date: Sun, 5 May 2013 07:53:28 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317401 - head/devel/gsoap Message-ID: <201305050753.r457rSv2074867@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun May 5 07:53:27 2013 New Revision: 317401 URL: http://svnweb.freebsd.org/changeset/ports/317401 Log: Fix build with bmake and convert to new options framework Modified: head/devel/gsoap/Makefile Modified: head/devel/gsoap/Makefile ============================================================================== --- head/devel/gsoap/Makefile Sun May 5 07:49:18 2013 (r317400) +++ head/devel/gsoap/Makefile Sun May 5 07:53:27 2013 (r317401) @@ -5,14 +5,14 @@ PORTNAME= gsoap PORTVERSION= 2.8.10 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= SF/${PORTNAME}2/gSOAP +MASTER_SITES= SF/${PORTNAME}2/gSOAP DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= sem@FreeBSD.org COMMENT= Generator Tools for Coding SOAP/XML Web Services in C and C++ -OPTIONS= OPENSSL "Enable SSL/TLS (OpenSSL from base)" on \ - GNUTLS "Enable SSL/TLS (GnuTLS)" off +OPTIONS_DEFINE= OPENSSL GNUTLS +OPTIONS_DEFAULT= OPENSSL USE_ZIP= yes GNU_CONFIGURE= yes @@ -21,6 +21,10 @@ MAKE_JOBS_UNSAFE= yes CFLAGS+= -DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \ -DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\" +.if defined(.PARSEDIR) +USE_GMAKE= yes +.endif + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} ONLY_FOR_ARCHS= i386 amd64 @@ -31,11 +35,11 @@ ONLY_FOR_ARCHS= i386 amd64 CFLAGS+= -fPIC .endif -.if defined(WITHOUT_OPENSSL) && defined(WITHOUT_GNUTLS) +.if ! ${PORT_OPTIONS:MOPENSSL} && ! ${PORT_OPTIONS:MGNUTLS} CONFIGURE_ARGS+=--disable-ssl .endif -.if defined(WITH_GNUTLS) +.if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls \ gcrypt:${PORTSDIR}/security/libgcrypt \ gpg-error.0:${PORTSDIR}/security/libgpg-error
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305050753.r457rSv2074867>