summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-11-25 20:17:00 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-11-25 20:17:00 +0000
commitb8039ea566997b48bf459ba5376cc481601df369 (patch)
tree749b48020111856c75b767bd752fd216f263dcc2 /graphics
parentSorry,this was BROKEN. (diff)
Added patch-aa so this didn't break in -CURRENT
UnBROKENed Makefile, and changed HAS_CONFIGURE to the more appropriate GNU_CONFIGURE. Port builds on -STABLE(jade.chc-chimes.com) and -CURRENT(bento) now. PR: ports/8807 Submitted by: Ian Struble <ian@disavowed.broken.net>
Notes
Notes: svn path=/head/; revision=14900
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gfont/Makefile8
-rw-r--r--graphics/gfont/files/patch-aa19
2 files changed, 21 insertions, 6 deletions
diff --git a/graphics/gfont/Makefile b/graphics/gfont/Makefile
index d9a9d4816e69..a5673a298715 100644
--- a/graphics/gfont/Makefile
+++ b/graphics/gfont/Makefile
@@ -3,7 +3,7 @@
# Date created: 09-Sep-1997
# Whom: Ralf S. Engelschall <rse@engelschall.com>
#
-# $Id: Makefile,v 1.5 1998/11/15 20:47:32 jseger Exp $
+# $Id: Makefile,v 1.6 1998/11/16 07:12:06 asami Exp $
#
DISTNAME= gfont-1.0.2
@@ -20,12 +20,8 @@ RUN_DEPENDS= mf:${PORTSDIR}/print/teTeX \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 300003
-BROKEN= perl5
-.endif
-
USE_PERL5= yes
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
MAN1= gfont.1
diff --git a/graphics/gfont/files/patch-aa b/graphics/gfont/files/patch-aa
new file mode 100644
index 000000000000..a31e5d0e627e
--- /dev/null
+++ b/graphics/gfont/files/patch-aa
@@ -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