summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/agg/files/patch-configure.in9
-rw-r--r--graphics/libpano13/files/patch-bootstrap79
-rw-r--r--graphics/tesseract/Makefile7
-rw-r--r--graphics/wxsvg/Makefile4
4 files changed, 85 insertions, 14 deletions
diff --git a/graphics/agg/files/patch-configure.in b/graphics/agg/files/patch-configure.in
new file mode 100644
index 000000000000..cc46fd046c22
--- /dev/null
+++ b/graphics/agg/files/patch-configure.in
@@ -0,0 +1,9 @@
+--- configure.in.orig 2006-10-08 21:06:36.000000000 -0700
++++ configure.in 2012-05-03 17:23:22.000000000 -0700
+@@ -10,6 +10,2 @@
+ AC_ISC_POSIX
+-AM_C_PROTOTYPES
+-if test "x$U" != "x"; then
+- AC_MSG_ERROR(Compiler not ANSI compliant)
+-fi
+ AM_PROG_LIBTOOL
diff --git a/graphics/libpano13/files/patch-bootstrap b/graphics/libpano13/files/patch-bootstrap
index 6c239b7e74ee..897ecfa0c0b8 100644
--- a/graphics/libpano13/files/patch-bootstrap
+++ b/graphics/libpano13/files/patch-bootstrap
@@ -1,17 +1,70 @@
---- bootstrap.orig 2009-02-01 19:35:46.000000000 +0200
-+++ bootstrap 2011-02-27 08:26:52.000000000 +0200
-@@ -23,7 +23,7 @@
- libtool_version=`$LIBTOOLIZE --version | sed 's/.*) \([0-9.][0-9.]*\).*/\1/'`
- # echo libtool version: $libtool_version
- case $libtool_version in
-- 1.4*|1.5*|2.0*|2.2*|2.4*)
-+ 1.4*|1.5*|[2-9]*)
- have_libtool=true
- ;;
- esac
-@@ -96,27 +96,3 @@
- $AUTOMAKE --add-missing --copy || exit $?
+--- bootstrap.orig 2011-02-22 11:06:38.000000000 -0800
++++ bootstrap 2012-05-03 17:40:55.000000000 -0700
+@@ -18,63 +18,2 @@
+-DIE=0
+-
+-have_libtool=false
+-if $LIBTOOLIZE --version < /dev/null > /dev/null 2>&1 ; then
+- libtool_version=`$LIBTOOLIZE --version | sed 's/.*) \([0-9.][0-9.]*\).*/\1/'`
+-# echo libtool version: $libtool_version
+- case $libtool_version in
+- 1.4*|1.5*|2.0*|2.2*|2.4*)
+- have_libtool=true
+- ;;
+- esac
+-fi
+-if $have_libtool ; then : ; else
+- echo
+- echo "You must have libtool 1.4 or later installed to compile $PROJECT."
+- echo "Install the appropriate package for your distribution,"
+- echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
+- DIE=1
+-fi
+-
+-# Assume if we have this that aclocal and autoheader are available
+-have_autoconf=false
+-if $AUTOCONF --version < /dev/null > /dev/null 2>&1 ; then
+- autoconf_version=`$AUTOCONF --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+-# echo autoconf version: $autoconf_version
+- case $autoconf_version in
+- 2.5*|2.6*)
+- have_autoconf=true
+- ;;
+- esac
+-fi
+-if $have_autoconf ; then : ; else
+- echo
+- echo "You must have autoconf installed to compile $PROJECT."
+- echo "Install the appropriate package for your distribution,"
+- echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
+- DIE=1
+-fi
+-
+-have_automake=false
+-if $AUTOMAKE --version < /dev/null > /dev/null 2>&1 ; then
+- automake_version=`$AUTOMAKE --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+-# echo automake version: $automake_version
+- case $automake_version in
+- 1.7*|1.8*|1.9*|1.10*|1.11*)
+- have_automake=true
+- ;;
+- esac
+-fi
+-if $have_automake ; then : ; else
+- echo
+- echo "You must have automake 1.7.x or later installed to compile $PROJECT."
+- echo "Install the appropriate package for your distribution,"
+- echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
+- DIE=1
+-fi
+-
+-if test "$DIE" -eq 1; then
+- exit 1
+-fi
+-
+ test $TEST_TYPE $FILE || {
+@@ -98,25 +37 @@
$AUTOCONF || exit $?
-
-cd $ORIGDIR || exit $?
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index fc01baebb8b5..a2b1dcfb3053 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= lept.2:${PORTSDIR}/graphics/leptonica
DIST_SUBDIR= ${PORTNAME}
PROJECTHOST= tesseract-ocr
-USE_AUTOTOOLS= automake
+USE_AUTOTOOLS= automake autoconf:env
USE_LDCONFIG= yes
CONFIGURE_ENV= LIBLEPT_HEADERSDIR="${LOCALBASE}/include/leptonica"
@@ -55,7 +55,12 @@ PORTDOCS= AUTHORS ChangeLog README ReleaseNotes
PORTEXAMPLES= eurotext.tif phototest.tif
.endif
+AUTOTOOLSFILES= aclocal.m4
+
post-patch:
+ @${REINPLACE_CMD} -e 's|1.11.1|%%AUTOMAKE_APIVER%%|g' \
+ -e 's|2.65|%%AUTOCONF_VERSION%%|g' \
+ ${WRKSRC}/aclocal.m4
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'\
${WRKSRC}/configure
@${REINPLACE_CMD} -e '1s|.*|/*|' ${WRKSRC}/ccutil/strngs.h
diff --git a/graphics/wxsvg/Makefile b/graphics/wxsvg/Makefile
index d3d15186581c..b7886fdc3f16 100644
--- a/graphics/wxsvg/Makefile
+++ b/graphics/wxsvg/Makefile
@@ -27,7 +27,11 @@ USE_WX= yes
USE_AUTOTOOLS= automake
WX_CONF_ARGS= absolute
+AUTOTOOLSFILES= aclocal.m4
+
post-patch:
+ @${REINPLACE_CMD} -e 's|1.11.1|%%AUTOMAKE_APIVER%%|g' \
+ ${WRKSRC}/aclocal.m4
@cd ${WRKSRC} && \
${TOUCH} -f NEWS INSTALL
# @${REINPLACE_CMD} -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=${WX_CONFIG}|' \