diff options
-rw-r--r-- | graphics/gfont/Makefile | 8 | ||||
-rw-r--r-- | graphics/gfont/files/patch-aa | 19 |
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 |