Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 12:24:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364530 - in head/databases/monetdb: . files
Message-ID:  <53e76465.2405.343dbbf1@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Aug 10 12:24:04 2014
New Revision: 364530
URL: http://svnweb.freebsd.org/changeset/ports/364530
QAT: https://qat.redports.org/buildarchive/r364530/

Log:
  Allow building on freebsd 8 and 9

Modified:
  head/databases/monetdb/Makefile
  head/databases/monetdb/files/patch-configure

Modified: head/databases/monetdb/Makefile
==============================================================================
--- head/databases/monetdb/Makefile	Sun Aug 10 12:20:18 2014	(r364529)
+++ head/databases/monetdb/Makefile	Sun Aug 10 12:24:04 2014	(r364530)
@@ -208,7 +208,8 @@ CONFIGURE_ARGS+=	-with-password-backend=
 # Compile chokes with  version of flex on FreeBSD 8 and 9
 # with "unknown flag '-'"
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-BUILD_DEPENDS+=	flex:${PORTSDIR}/textproc/flex
+BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
+CONFIGURE_ENV+=	LEX=${LOCALBASE}/bin/flex
 .endif
 
 pre-install:

Modified: head/databases/monetdb/files/patch-configure
==============================================================================
--- head/databases/monetdb/files/patch-configure	Sun Aug 10 12:20:18 2014	(r364529)
+++ head/databases/monetdb/files/patch-configure	Sun Aug 10 12:24:04 2014	(r364530)
@@ -1,6 +1,14 @@
---- configure.orig	2014-02-02 18:41:42.664332968 +0100
-+++ configure	2014-02-02 18:41:59.346331204 +0100
- 
+--- configure.orig	2013-11-20 11:27:41.000000000 +0000
++++ configure	2014-08-10 12:16:46.974210130 +0000
+@@ -17262,7 +17262,7 @@
+ 	;;
+ esac
+ case "$LEX" in
+-	flex*) : ;;
++	*flex*) : ;;
+ 	*)
+ 		if test "x$enable_jaql" = xyes; then
+ 			as_fn_error $? "MonetDB/JAQL requires flex" "$LINENO" 5
 @@ -17802,6 +17802,7 @@
  /* end confdefs.h.  */
  #include <stdio.h>
@@ -87,3 +95,4 @@
 +if  x"$have_zlib" = x"yes" ; then
  
  $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e76465.2405.343dbbf1>