[Midnightbsd-cvs] mports [24389] trunk/devel/tex-web2c: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Sep 25 22:06:31 EDT 2018


Revision: 24389
          http://svnweb.midnightbsd.org/mports/?rev=24389
Author:   laffer1
Date:     2018-09-25 22:06:30 -0400 (Tue, 25 Sep 2018)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/devel/tex-web2c/Makefile

Added Paths:
-----------
    trunk/devel/tex-web2c/files/patch-build-aux_config.guess
    trunk/devel/tex-web2c/files/patch-build-aux_config.sub
    trunk/devel/tex-web2c/files/patch-build-aux_ltmain.sh

Modified: trunk/devel/tex-web2c/Makefile
===================================================================
--- trunk/devel/tex-web2c/Makefile	2018-09-25 23:47:12 UTC (rev 24388)
+++ trunk/devel/tex-web2c/Makefile	2018-09-26 02:06:30 UTC (rev 24389)
@@ -46,10 +46,7 @@
 		--with-x=no \
 		--without-mf-x-toolkit \
 		--with-system-zlib \
-		--with-system-zziplib \
-		--host=${ARCH}-portbld-freebsd9.1 \
-		--build=${ARCH}-portbld-freebsd9.1 \
-		--target=${ARCH}-portbld-freebsd9.1
+		--with-system-zziplib
 .for L in pixman cairo gmp mpfr libpng icu kpathsea ptexenc
 CONFIGURE_ARGS+=--with-system-$L \
 		--with-$L-include=${LOCALBASE}/include \

Added: trunk/devel/tex-web2c/files/patch-build-aux_config.guess
===================================================================
--- trunk/devel/tex-web2c/files/patch-build-aux_config.guess	                        (rev 0)
+++ trunk/devel/tex-web2c/files/patch-build-aux_config.guess	2018-09-26 02:06:30 UTC (rev 24389)
@@ -0,0 +1,18 @@
+--- ../../build-aux/config.guess.orig	2018-09-25 21:58:31.940846000 -0400
++++ ../../build-aux/config.guess	2018-09-25 22:00:08.601986000 -0400
+@@ -832,6 +832,15 @@
+ 		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ 	esac
+ 	exit ;;
++    *:MidnightBSD:*:*)
++        UNAME_PROCESSOR=`/usr/bin/uname -p`
++        case ${UNAME_PROCESSOR} in
++            amd64)
++                echo x86_64-unknown-midnightbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
++            *)
++                echo ${UNAME_PROCESSOR}-unknown-midnightbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
++        esac
++        exit ;;
+     i*:CYGWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-cygwin
+ 	exit ;;


Property changes on: trunk/devel/tex-web2c/files/patch-build-aux_config.guess
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/tex-web2c/files/patch-build-aux_config.sub
===================================================================
--- trunk/devel/tex-web2c/files/patch-build-aux_config.sub	                        (rev 0)
+++ trunk/devel/tex-web2c/files/patch-build-aux_config.sub	2018-09-26 02:06:30 UTC (rev 24389)
@@ -0,0 +1,11 @@
+--- ../../build-aux/config.sub.orig	2018-09-25 21:58:37.534652000 -0400
++++ ../../build-aux/config.sub	2018-09-25 21:59:30.470662000 -0400
+@@ -1396,7 +1396,7 @@
+ 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+-	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
++	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos* | -midnightbsd*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)


Property changes on: trunk/devel/tex-web2c/files/patch-build-aux_config.sub
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/tex-web2c/files/patch-build-aux_ltmain.sh
===================================================================
--- trunk/devel/tex-web2c/files/patch-build-aux_ltmain.sh	                        (rev 0)
+++ trunk/devel/tex-web2c/files/patch-build-aux_ltmain.sh	2018-09-26 02:06:30 UTC (rev 24389)
@@ -0,0 +1,47 @@
+--- ../../build-aux/ltmain.sh.orig	2018-09-25 21:58:50.616659000 -0400
++++ ../../build-aux/ltmain.sh	2018-09-25 22:01:15.849050000 -0400
+@@ -7019,7 +7019,7 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test X-lc = "X$arg" && continue
+ 	    ;;
+-	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
++	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    test X-lc = "X$arg" && continue
+ 	    ;;
+@@ -7039,7 +7039,7 @@
+ 	  esac
+ 	elif test X-lc_r = "X$arg"; then
+ 	 case $host in
+-	 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
++	 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
+ 	   # Do not include libc_r directly, use -pthread flag.
+ 	   continue
+ 	   ;;
+@@ -8805,7 +8805,7 @@
+ 	  #
+ 	  case $version_type in
+ 	  # correct linux to gnu/linux during the next big refactor
+-	  darwin|freebsd-elf|linux|osf|windows|none)
++	  darwin|midnightbsd-elf|freebsd-elf|linux|osf|windows|none)
+ 	    func_arith $number_major + $number_minor
+ 	    current=$func_arith_result
+ 	    age=$number_minor
+@@ -8896,7 +8896,7 @@
+ 	  versuffix=.$current.$revision
+ 	  ;;
+ 
+-	freebsd-elf)
++	freebsd-elf|midnightbsd-elf)
+ 	  func_arith $current - $age
+ 	  major=.$func_arith_result
+ 	  versuffix=$major.$age.$revision
+@@ -9122,7 +9122,7 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
++	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    ;;
+ 	  *-*-sco3.2v5* | *-*-sco5v6*)


Property changes on: trunk/devel/tex-web2c/files/patch-build-aux_ltmain.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list