aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-12-20 23:23:36 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-12-20 23:23:36 +0000
commitfff8eb146244b62918c6067c75848d259dee6681 (patch)
tree319ff241bb55f8205b59f5c3b4258d1d8b4f8ea0 /x11
parent2cc4260dc64239ec983505acf18d046f4e011c37 (diff)
downloadports-fff8eb146244b62918c6067c75848d259dee6681.tar.gz
ports-fff8eb146244b62918c6067c75848d259dee6681.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index d79ee05e3643..a731c7e036a6 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -27,7 +27,7 @@ MAN1= xlock.1
PLIST_FILES= bin/xlock lib/X11/app-defaults/XLock
OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
- KERBEROS4 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION
+ KERBEROS4 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK
MESAGL_DESC= Mesa 3D (for GL modes)
MB_DESC= Xmb function series
@@ -122,6 +122,12 @@ CONFIGURE_ARGS+= --disable-bomb
CONFIGURE_ARGS+= --enable-customization
.endif
+.if ${PORT_OPTIONS:MMAGICK}
+LIB_DEPENDS+= MagickCore:${PORTSDIR}/graphics/ImageMagick
+.else
+CONFIGURE_ARGS+= --without-magick
+.endif
+
CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${KRB4LIB} ${MESALIB}"
.if ${PORT_OPTIONS:MDISABLE_ALLOW_ROOT}