pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38788: emulators/twin is broken on FreeBSD/i386



>Number:         38788
>Category:       pkg
>Synopsis:       emulators/twin is broken on FreeBSD/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 29 13:55:00 +0000 2008
>Originator:     Aleksej Saushev
>Release:        
>Organization:
>Environment:
>Description:
emulators/twin doesn't build on FreeBSD/i386 since LOWER_VENDOR
is set to "pc", but expected "unknown".

>How-To-Repeat:
cd emulators/twin && bmake

>Fix:
Apply the patch:

--- patch-ap    17 Feb 2006 22:25:24 +0300      1.1
+++ patch-ap    29 May 2008 17:44:06 +0400      
@@ -1,8 +1,13 @@
 $NetBSD: patch-ap,v 1.1 2006/02/17 19:25:24 wiz Exp $
 
---- configure.orig     2001-01-14 08:25:13.000000000 +0000
-+++ configure
-@@ -830,6 +830,14 @@ case "$host" in
+--- configure.orig     Sun Jan 14 11:25:13 2001
++++ configure  Thu May 29 17:42:53 2008
+@@ -826,10 +826,18 @@
+       TARGET=sco
+       ;;
+ 
+-   i*86-unknown-freebsd* )
++   i*86-*-freebsd* )
        TARGET=freebsd
        ;;
  
@@ -17,7 +22,7 @@
     i*86-*-linux* )
        TARGET=linux
        ;;
-@@ -2849,6 +2857,11 @@ EOF
+@@ -2849,6 +2857,11 @@
        # egcs still broken on ppc
        TWIN_CFLAGS=-g
        ;;
@@ -29,3 +34,14 @@
  esac
  
  if test -n "$GCC"
+@@ -3349,6 +3362,10 @@
+ do
+   case "\$ac_option" in
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
++      : Avoid regenerating within pkgsrc
++      exit 0
+     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create 
--no-recursion"
+     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create 
--no-recursion ;;
+   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)



Home | Main Index | Thread Index | Old Index