Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 15:23:27 +0000
From:      Bruce M Simpson <bms@spc.org>
To:        ports@FreeBSD.org
Subject:   [PATCH] graphics/ImageMagick: fix install step for perl
Message-ID:  <20040102152327.GA95612@saboteur.dek.spc.org>

next in thread | raw e-mail | index | archive | help

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

BMS

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-Makefile

--- 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 '
 .endif
 
+# Fix perl install step
+.if !defined(WITHOUT_IMAGEMAGICK_PERL)
+pre-install:
+	@( cd ${WRKSRC} ; touch perl-sources )
+.endif
+
 # PerlMagick not works with threads, if perl is not threaded, and vice versa
 .if defined(WITH_IMAGEMAGICK_THREADS) || \
     (!defined(WITHOUT_IMAGEMAGICK_PERL) && \

--0F1p//8PRICkK4MW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040102152327.GA95612>