Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 08:33:17 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495774 - head/databases/virtuoso
Message-ID:  <201903150833.x2F8XH2i081976@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Mar 15 08:33:17 2019
New Revision: 495774
URL: https://svnweb.freebsd.org/changeset/ports/495774

Log:
  databases/virtuoso: Replace IODBC_CPPFLAGS and append directly to CPPFLAGS
  
  The result is identical and having a variable that looks like an
  options helper (IODBC_CPPFLAGS) after bsd.port.options.mk would be
  an error if D19553 is accepted.
  
  Reported by:	tobik (in D19553)

Modified:
  head/databases/virtuoso/Makefile

Modified: head/databases/virtuoso/Makefile
==============================================================================
--- head/databases/virtuoso/Makefile	Fri Mar 15 07:22:09 2019	(r495773)
+++ head/databases/virtuoso/Makefile	Fri Mar 15 08:33:17 2019	(r495774)
@@ -41,7 +41,7 @@ CONFIGURE_ARGS=	--with-readline\
 		--datadir="${PREFIX}"\
 		--localstatedir="${PREFIX}"
 CONFIGURE_ENV=	ac_cv_header_sys_timeb_h=no
-CPPFLAGS+=	-std=gnu89 ${IODBC_CPPFLAGS}
+CPPFLAGS+=	-std=gnu89
 LDFLAGS+=	-lexecinfo
 MAKE_ENV=	PATH=${LOCALBASE}/bin:${PATH}\
 		ISQL=isql-vt
@@ -79,10 +79,10 @@ PLIST_SUB+=	WITH_IMAGEMAGICK="@comment "
 .if ${PORT_OPTIONS:MIODBC}
 CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE}
 LIB_DEPENDS+=	libiodbc.so:databases/libiodbc
-IODBC_CPPFLAGS=	-I${LOCALBASE}/include/libiodbc
+CPPFLAGS+=	-I${LOCALBASE}/include/libiodbc
 PLIST_SUB+=	WITH_IODBC=""
 .else
-IODBC_CPPFLAGS=	-I../../libsrc/odbcsdk/include
+CPPFLAGS+=	-I../../libsrc/odbcsdk/include
 PLIST_SUB+=	WITH_IODBC="@comment "
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903150833.x2F8XH2i081976>