From owner-freebsd-ports Sat Jun 22 20: 0:24 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7799437B407 for ; Sat, 22 Jun 2002 20:00:09 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5N309109350; Sat, 22 Jun 2002 20:00:09 -0700 (PDT) (envelope-from gnats) Date: Sat, 22 Jun 2002 20:00:09 -0700 (PDT) Message-Id: <200206230300.g5N309109350@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Oliver Lehmann Subject: Re: ports/39680: Imagemagick port has configure error Reply-To: Oliver Lehmann Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/39680; it has been noted by GNATS. From: Oliver Lehmann To: Stephen Montgomery-Smith Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/39680: Imagemagick port has configure error Date: Sun, 23 Jun 2002 04:57:05 +0200 On Sat, 22 Jun 2002 18:56:14 -0500 (CDT) Stephen Montgomery-Smith wrote: > kluware@kluware.de discovered that the build works if bash is installed. Adding bash as a dependency to get the port compile, isn't a good idea imho. I don't have bash, and i don't see a reason to install it only to run configure ImageMagick. So please take the following patch instead of the bash dependency. The patch was tested on 4-stable. diff -ruN ImageMagick.old/Makefile /usr/ports/graphics/ImageMagick/Makefile --- ImageMagick.old/Makefile Sun Jun 23 04:12:18 2002 +++ /usr/ports/graphics/ImageMagick/Makefile Sun Jun 23 04:42:15 2002 @@ -51,7 +51,7 @@ USE_LIBTOOL= yes LIBTOOLFLAGS= # none CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-shared --with-perl=${PERL5} \ --without-gslib --without-hdf --without-jp2 INSTALLS_SHLIB= yes diff -ruN ImageMagick.old/files/patch-configure /usr/ports/graphics/ImageMagick/files/patch-configure --- ImageMagick.old/files/patch-configure Sun Jun 23 04:12:18 2002 +++ /usr/ports/graphics/ImageMagick/files/patch-configure Sun Jun 23 04:12:24 2002 @@ -1,10 +1,21 @@ ---- configure.orig Sat Apr 6 04:06:38 2002 -+++ configure Fri May 3 04:10:56 2002 -@@ -14424,6 +14424,7 @@ +--- configure.orig Sun Jun 23 04:06:36 2002 ++++ configure Sun Jun 23 04:11:55 2002 +@@ -157,7 +157,7 @@ + + + +-tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` ++#tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + + if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +@@ -14688,7 +14688,8 @@ + # Configure libtool # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS +-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++LIBTOOL_DEPS=" /usr/local/share/libtool/ltmain.sh" ++/usr/local/share/libtool/ltconfig $LIBTOOL_DEPS # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff -ruN ImageMagick.old/files/patch-ltdl::configure /usr/ports/graphics/ImageMagick/files/patch-ltdl::configure --- ImageMagick.old/files/patch-ltdl::configure Thu Jan 1 01:00:00 1970 +++ /usr/ports/graphics/ImageMagick/files/patch-ltdl::configure Sun Jun 23 04:16:05 2002 @@ -0,0 +1,11 @@ +--- ltdl/configure.orig Sun Jun 23 04:15:26 2002 ++++ ltdl/configure Sun Jun 23 04:15:32 2002 +@@ -159,7 +159,7 @@ + + + +-tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` ++#tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + + if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr -- :======> Oliver Lehmann <======: clear perl code is better than :====> lehmann@ans-netz.de <====: unclear awk code; but NOTHING :===> http://www.pofo.de/ <===: comes close to unclear perl code :=> http://wishlist.pofo.de/ <=: (taken from comp.lang.awk FAQ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message