[Midnightbsd-cvs] mports [23728] trunk/devel/libffi: fix build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 17 17:13:03 EDT 2018
Revision: 23728
http://svnweb.midnightbsd.org/mports/?rev=23728
Author: laffer1
Date: 2018-08-17 17:13:02 -0400 (Fri, 17 Aug 2018)
Log Message:
-----------
fix build
Modified Paths:
--------------
trunk/devel/libffi/Makefile
trunk/devel/libffi/files/patch-configure
Modified: trunk/devel/libffi/Makefile
===================================================================
--- trunk/devel/libffi/Makefile 2018-08-17 20:16:17 UTC (rev 23727)
+++ trunk/devel/libffi/Makefile 2018-08-17 21:13:02 UTC (rev 23728)
@@ -2,6 +2,7 @@
PORTNAME= libffi
PORTVERSION= 3.2.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/${PORTNAME}
Modified: trunk/devel/libffi/files/patch-configure
===================================================================
--- trunk/devel/libffi/files/patch-configure 2018-08-17 20:16:17 UTC (rev 23727)
+++ trunk/devel/libffi/files/patch-configure 2018-08-17 21:13:02 UTC (rev 23728)
@@ -1,6 +1,96 @@
---- configure.orig 2015-01-01 10:56:10 UTC
-+++ configure
-@@ -17221,7 +17221,7 @@ case "$host" in
+--- configure.orig 2014-11-12 06:59:57.000000000 -0500
++++ configure 2018-08-17 17:12:11.987792000 -0400
+@@ -5901,7 +5901,7 @@
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
++ netbsd* | freebsd* | openbsd* | darwin* | dragonfly* | midnightbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+@@ -6336,7 +6336,7 @@
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd* | dragonfly*)
++freebsd* | dragonfly* | midnightbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -10490,7 +10490,7 @@
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | dragonfly*)
++ freebsd* | dragonfly* | midnightbsd*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -11454,7 +11454,7 @@
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd* | dragonfly*)
++freebsd* | dragonfly* | midnightbsd*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+@@ -11472,7 +11472,7 @@
+ need_version=no
+ need_lib_prefix=no
+ ;;
+- freebsd-*)
++ freebsd-* | midnightbsd*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+@@ -13434,7 +13434,7 @@
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+- freebsd* | dragonfly*)
++ freebsd* | dragonfly* | midnightbsd*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+@@ -14421,7 +14421,7 @@
+ ;;
+ esac
+ ;;
+- freebsd* | dragonfly*)
++ freebsd* | dragonfly* | midnightbsd*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+@@ -15289,7 +15289,7 @@
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd* | dragonfly*)
++freebsd* | dragonfly* | midnightbsd*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+@@ -15307,7 +15307,7 @@
+ need_version=no
+ need_lib_prefix=no
+ ;;
+- freebsd-*)
++ freebsd-* | midnightbsd*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+@@ -17092,7 +17092,7 @@
+ TARGET=ARM; TARGETDIR=arm
+ ;;
+
+- amd64-*-freebsd* | amd64-*-openbsd*)
++ amd64-*-freebsd* | amd64-*-openbsd* | amd64-*-midnightbsd*)
+ TARGET=X86_64; TARGETDIR=x86
+ ;;
+
+@@ -17221,7 +17221,7 @@
mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
TARGET=MIPS; TARGETDIR=mips
;;
More information about the Midnightbsd-cvs
mailing list