summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-03-09 19:51:23 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-03-09 19:51:23 +0000
commita0236a6b1dd0fa643375064f167bd12174e757c0 (patch)
tree16a58184603445f2e9a24a09a7ff0a288bbeffe0 /graphics/ImageMagick/Makefile
parento update to 2.80. (diff)
Made ``--with-modules'' an optional argument triggered by WITH_MODULES
knob. IMO, this should be removed at all. It seems, the "modules" provide solution to a problem that does not exist. And provide poorly. First, every module is really a shell script (.la), which loads the namesake shared object (.so). Second -- they don't work. At least, not on FreeBSD. I wish someone did cd work/ImageMagick-<version>/PerlMagick/demo make before enabling them for the rest of us...
Notes
Notes: svn path=/head/; revision=39319
Diffstat (limited to 'graphics/ImageMagick/Makefile')
-rw-r--r--graphics/ImageMagick/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 3c2af59ed56f..fbd9c7ed003f 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -49,9 +49,16 @@ LIBTOOLFLAGS= # empty
USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --enable-shared --with-modules \
+CONFIGURE_ARGS= --enable-shared \
--with-perl=${PERL5}
+.ifdef WITH_MODULES
+CONFIGURE_ARGS+=--with-modules
+PLIST_SUB+= MODULES=''
+.else
+PLIST_SUB+= MODULES='@comment '
+.endif
+
.ifdef NO_X
CONFIGURE_ARGS+=--without-x
PLIST_SUB+= X11='@comment '