aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gfont
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1998-11-26 04:17:00 +0800
committerbillf <billf@FreeBSD.org>1998-11-26 04:17:00 +0800
commit1edc1796e31ae4115c03a35e0544fa361da3b421 (patch)
tree739ceb3effa81b49d5b4d4950e574101a84b9c9f /graphics/gfont
parentb47544474392187170a90a67018f601128e6d4ef (diff)
downloadfreebsd-ports-gnome-1edc1796e31ae4115c03a35e0544fa361da3b421.tar.gz
freebsd-ports-gnome-1edc1796e31ae4115c03a35e0544fa361da3b421.tar.zst
freebsd-ports-gnome-1edc1796e31ae4115c03a35e0544fa361da3b421.zip
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>
Diffstat (limited to 'graphics/gfont')
-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