Date: Sun, 1 Nov 1998 17:16:16 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "Justin M. Seger" <jseger@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/graphics/ImageMagick Makefile ports/graphics/ImageMagick/files md5 ports/graphics/ImageMagick/patches patch-ad patch-ae patch-ai patch-aa patch-af ports/graphics/ImageMagick/pkg PLIST Message-ID: <19981101171616.A12536@nagual.pp.ru> In-Reply-To: <199810311534.HAA18451@freefall.freebsd.org>; from jseger@FreeBSD.ORG on Sat, Oct 31, 1998 at 07:34:43AM -0800 References: <199810311534.HAA18451@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 31, 1998 at 07:34:43AM -0800, Justin M. Seger wrote: > graphics/ImageMagick/patches patch-aa patch-af > Log: > Upgrade to version 4.1.3. The port becomes broken after this upgrade because all external libraries not detected and not linked with it due to missing -I and -L flags. Here the patch which replaces old patch-ad: ------------------------------ patch-ad --------------------------------- --- configure.orig Thu Oct 29 07:54:37 1998 +++ configure Sun Nov 1 16:35:53 1998 @@ -1940,8 +1940,8 @@ eval "eval MAN_DIR=$mandir" -LDFLAGS="$LDFLAGS -L$BIN_DIR" -CPPFLAGS="$CPPFLAGS -I$INCLUDE_DIR" +LDFLAGS="$LDFLAGS -L$LIB_DIR" +CPPFLAGS="$CPPFLAGS -I$prefix/include/tiff34 -I$prefix/include" TRAILING_LIBS='' # @@ -4419,14 +4419,14 @@ failed=`expr $failed + 1` fi - echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 -echo "configure:4424: checking for TIFFOpen in -ltiff" >&5 -ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` + echo $ac_n "checking for TIFFOpen in -ltiff34""... $ac_c" 1>&6 +echo "configure:4424: checking for TIFFOpen in -ltiff34" >&5 +ac_lib_var=`echo tiff34'_'TIFFOpen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="$LIBS -ltiff $TRAILING_LIBS" +LIBS="$LIBS -ltiff34 $TRAILING_LIBS" cat > conftest.$ac_ext <<EOF #line 4432 "configure" #include "confdefs.h" @@ -4469,7 +4469,7 @@ echo "$ac_t""no -- some components failed test" 1>&6 have_tiff='no (failed tests)' else - LIB_TIFF='-ltiff' + LIB_TIFF='-ltiff34' LIBS="$LIBS $LIB_TIFF" cat >> confdefs.h <<\EOF #define HasTIFF 1 ------------------------------ patch-ad --------------------------------- Also there is wrong version number in PLIST, here the patch: --- PLIST.bak Sun Nov 1 12:08:01 1998 +++ PLIST Sun Nov 1 17:04:51 1998 @@ -24,7 +24,7 @@ lib/libMagick.a lib/libMagick.la lib/libMagick.so -lib/libMagick.so.4.9 +lib/libMagick.so.4.13 lib/perl5/site_perl/%%PERL_VER%%/i386-freebsd/Image/Magick.pm lib/perl5/site_perl/%%PERL_VER%%/i386-freebsd/auto/Image/Magick/.packlist lib/perl5/site_perl/%%PERL_VER%%/i386-freebsd/auto/Image/Magick/Magick.bs -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981101171616.A12536>