From 0e64ad403b88d478a0d6be136e330d0d9fe31a16 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 24 Nov 2014 16:21:24 +0000 Subject: Fix build with Perl 5.18+. While there, add a runtime dependency on Perl, a few installed scripts need it. Sponsored by: Absolight --- science/minc2/Makefile | 2 +- science/minc2/files/patch-Makefile.am | 4 +-- science/minc2/files/patch-progs_mincpik_mincpik.in | 38 ++++++++++++++++++++++ 3 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 science/minc2/files/patch-progs_mincpik_mincpik.in (limited to 'science') diff --git a/science/minc2/Makefile b/science/minc2/Makefile index 467d13831205..e13e482e0fcb 100644 --- a/science/minc2/Makefile +++ b/science/minc2/Makefile @@ -3,6 +3,7 @@ PORTNAME= minc PORTVERSION= 2.2.00 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= science biology MASTER_SITES= GH @@ -24,7 +25,6 @@ GH_COMMIT= 6f2f5b9 USES= bison gmake libtool perl5 shebangfix SHEBANG_FILES= progs/mincview/mincview -USE_PERL5= build USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf ACLOCAL_ARGS= -I m4 --automake-acdir=${ACLOCAL_DIR} AUTOMAKE_ARGS= --add-missing --copy --force-missing diff --git a/science/minc2/files/patch-Makefile.am b/science/minc2/files/patch-Makefile.am index e38283aec741..b6f53bf7c248 100644 --- a/science/minc2/files/patch-Makefile.am +++ b/science/minc2/files/patch-Makefile.am @@ -1,6 +1,6 @@ ---- Makefile.am.orig +--- Makefile.am.orig 2012-09-24 17:35:36 UTC +++ Makefile.am -@@ -274,28 +274,28 @@ +@@ -274,28 +274,28 @@ m4_files = \ m4/smr_WITH_BUILD_PATH.m4 ezMINC_files = \ diff --git a/science/minc2/files/patch-progs_mincpik_mincpik.in b/science/minc2/files/patch-progs_mincpik_mincpik.in new file mode 100644 index 000000000000..40bdb5d54eb5 --- /dev/null +++ b/science/minc2/files/patch-progs_mincpik_mincpik.in @@ -0,0 +1,38 @@ +--- progs/mincpik/mincpik.in.orig 2012-09-24 17:35:36 UTC ++++ progs/mincpik/mincpik.in +@@ -576,8 +576,11 @@ font point size for the title + + create an annotated bar to match the image (use height of the output image) + ++=back + + =head3 Image range and lookup table options ++ ++=over + + =item B<--range> + +@@ -595,8 +598,11 @@ automatically determine image range usin + + arguments to pass to minclookup + ++=back + + =head3 Slicing options ++ ++=over + + =item B<-s> B<--slice> + +@@ -614,8 +620,11 @@ get a coronal (y) slice + + get a sagital (x) slice + ++=back + + =head3 Triplanar options ++ ++=over + + =item B<-t> B<--triplanar> + -- cgit v1.2.3