aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/ImageMagick/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index e808474912e7..091c1015e79c 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -46,6 +46,10 @@ CONFIGURE_ARGS+= --enable-lzw
USE_PERL5= YES
USE_XLIB= YES
CONFIGURE_ENV= LDFLAGS="$(LDFLAGS) -L${WRKSRC}/magick/.libs"
+
+pre-configure:
+ ${RM} -f ${WRKSRC}/config.cache
+
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib