Date: Wed, 23 Jul 2014 11:02:56 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362658 - head/net-p2p/transmission-cli Message-ID: <201407231102.s6NB2uQ4092701@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Wed Jul 23 11:02:56 2014 New Revision: 362658 URL: http://svnweb.freebsd.org/changeset/ports/362658 QAT: https://qat.redports.org/buildarchive/r362658/ Log: Fix clang build on 9.x Apparently this version doesn't understand empty arguments in CFLAGS using commas; i.e. ,-I/usr/local/include throws an error about nonexisting file ,- Reported by: Kenta S (kentas@hush.com) Modified: head/net-p2p/transmission-cli/Makefile Modified: head/net-p2p/transmission-cli/Makefile ============================================================================== --- head/net-p2p/transmission-cli/Makefile Wed Jul 23 10:55:48 2014 (r362657) +++ head/net-p2p/transmission-cli/Makefile Wed Jul 23 11:02:56 2014 (r362658) @@ -45,8 +45,12 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS=--with-zlib=/usr \ ${EXTRA_CONF_ARGS} -CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LDFLAGS} \ - OPENSSL_CFLAGS=${OPENSSL_CFLAGS},-I${OPENSSLINC} +CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LDFLAGS} +.if empty(OPENSSL_CFLAGS) +CONFIGURE_ENV+= OPENSSL_CFLAGS=-I${OPENSSLINC} +.else +CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS},-I${OPENSSLINC} +.endif EXTRA_CONF_ARGS?=--enable-cli \ --disable-daemon \ --without-gtk \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407231102.s6NB2uQ4092701>