diff options
author | jgh <jgh@FreeBSD.org> | 2012-12-21 07:23:36 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2012-12-21 07:23:36 +0800 |
commit | 2430f2cb3a711e7e86deeff4f39ade0fa25e4a2f (patch) | |
tree | 319ff241bb55f8205b59f5c3b4258d1d8b4f8ea0 /x11 | |
parent | 98ab9baf84895c98de3301732b1f3b3b7b519bcd (diff) | |
download | freebsd-ports-gnome-2430f2cb3a711e7e86deeff4f39ade0fa25e4a2f.tar.gz freebsd-ports-gnome-2430f2cb3a711e7e86deeff4f39ade0fa25e4a2f.tar.zst freebsd-ports-gnome-2430f2cb3a711e7e86deeff4f39ade0fa25e4a2f.zip |
- add option for ImageMagick (MAGICK)
PR: 174469
Submitted by: katsura@cc.osaka-kyoiku.ac.jp
Approved by: maintainer, jgh@
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xlockmore/Makefile | 8 |
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} |