Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 1998 17:27:00 -0800 (PST)
From:      Ian Struble <ian@disavowed.broken.net>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8807: port was marked BROKEN=perl5 -- FIXED
Message-ID:  <199811230127.RAA29924@disavowed.broken.net>

next in thread | raw e-mail | index | archive | help

>Number:         8807
>Category:       ports
>Synopsis:       port was marked BROKEN=perl5 -- FIXED
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 22 17:30:01 PST 1998
>Last-Modified:
>Originator:     Ian Struble
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

        

>Description:

        Port was marked BROKEN=perl5.  It was a one line fix to make it
        work again.  Also we don't need to USE_PERL5 in 3.0 anymore.

>How-To-Repeat:

        

>Fix:
        
        apply this patch...
----
diff -ruN gfont-orig/Makefile gfont/Makefile
--- gfont-orig/Makefile Sun Nov 22 12:55:33 1998
+++ gfont/Makefile      Sun Nov 22 13:04:11 1998
@@ -20,11 +20,6 @@
 
 .include <bsd.port.pre.mk>
 
-#.if ${OSVERSION} >= 300003
-#BROKEN=               perl5
-#.endif
-
-#USE_PERL5=    yes
 HAS_CONFIGURE= yes
 
 MAN1=          gfont.1
diff -ruN gfont-orig/patches/patch-aa gfont/patches/patch-aa
--- gfont-orig/patches/patch-aa Wed Dec 31 16:00:00 1969
+++ gfont/patches/patch-aa      Thu Nov 19 16:24:32 1998
@@ -0,0 +1,19 @@
+*** configure.orig     Thu Nov 19 16:18:19 1998
+--- configure  Thu Nov 19 16:19:02 1998
+***************
+*** 805,811 ****
+      for perl in perl5 perl miniperl; do
+           if test -x "$dir/$perl"; then
+               perl="$dir/$perl"
+!              version=`$perl -v | grep version | sed -e 's/.* version //' -e '
s/ with.*//'`
+               versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
+               versionnum=`expr $versionnum - $c`
+               echo "$versionnum $version $perl" >>$TMPFILE
+--- 805,811 ----
+      for perl in perl5 perl miniperl; do
+           if test -x "$dir/$perl"; then
+               perl="$dir/$perl"
+!              version=`$perl -v | grep version | sed -e 's/.* version //' -e '
s/ built.*//'`
+               versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
+               versionnum=`expr $versionnum - $c`
+               echo "$versionnum $version $perl" >>$TMPFILE

>Audit-Trail:
>Unformatted:
To: FreeBSD-gnats-submit@freebsd.org
Subject: FIX graphics/gfont
From: ian@broken.net
Reply-To: ian@broken.net
X-send-pr-version: 3.2



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811230127.RAA29924>