mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Allow building on freebsd 8 and 9
This commit is contained in:
parent
b43e712c36
commit
0e9d4ee9f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364530
@ -208,7 +208,8 @@ CONFIGURE_ARGS+= -with-password-backend=SHA512
|
||||
# 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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user