[PATCH] graphics/ImageMagick: fix install step for perl

Bruce M Simpson bms at spc.org
Fri Jan 2 07:23:34 PST 2004

On my -CURRENT system the installation of ImageMagick fails when it gets
to the perl-sources install target (which strictly speaking it shouldn't
need as the source is present in ${WRKSRC}/PerlMagick).

The attached patch touches perl-sources in a preinstall target so that
the VPATH isn't looked at (VPATH seems to map to /usr/src/sys for some
reason). This appears to fix installation of ImageMagick for me, YMMV.

-------------- next part --------------
--- Makefile.orig	Fri Jan  2 15:20:23 2004
+++ Makefile	Fri Jan  2 15:20:08 2004
@@ -58,6 +58,12 @@
 PLIST_SUB+=		WITH_PERL='@comment '
+# Fix perl install step
+	@( cd ${WRKSRC} ; touch perl-sources )
 # PerlMagick not works with threads, if perl is not threaded, and vice versa
     (!defined(WITHOUT_IMAGEMAGICK_PERL) && \

More information about the freebsd-ports mailing list