svn commit: r362484 - head/www/WebMagick
Adam Weinberger
adamw at FreeBSD.org
Mon Jul 21 20:53:56 UTC 2014
Author: adamw
Date: Mon Jul 21 20:53:56 2014
New Revision: 362484
URL: http://svnweb.freebsd.org/changeset/ports/362484
QAT: https://qat.redports.org/buildarchive/r362484/
Log:
As suggested by ache, actually check for the presence of Image/Magick.pm and only barf if it
doesn't exist.
Modified:
head/www/WebMagick/Makefile
Modified: head/www/WebMagick/Makefile
==============================================================================
--- head/www/WebMagick/Makefile Mon Jul 21 20:51:34 2014 (r362483)
+++ head/www/WebMagick/Makefile Mon Jul 21 20:53:56 2014 (r362484)
@@ -38,12 +38,15 @@ X11_BUILD_DEPENDS= xlsfonts:${PORTSDIR}/
X11_RUN_DEPENDS= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts
X11_CONFIGURE_ENV_OFF= with_x=no
-pre-everything::
- @${ECHO_CMD}
- @${ECHO_CMD} ${PORTNAME} requires that ImageMagick be installed with the PERL option enabled.
- @${ECHO_CMD}
+.include <bsd.port.pre.mk>
+
+do-configure:
+ @if [ ! -f ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm ]; then \
+ ${ECHO_CMD} ERROR: ImageMagick must be installed with the PERL option enabled; \
+ ${FALSE}; \
+ fi
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/www/data
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list