ports/174469: ports/x11/xlockmore: add imagemagick dependency as an option
Katsura Matsumoto
katsura at cc.osaka-kyoiku.ac.jp
Sun Dec 16 07:10:01 UTC 2012
>Number: 174469
>Category: ports
>Synopsis: ports/x11/xlockmore: add imagemagick dependency as an option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 16 07:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Katsura Matsumoto
>Release: 7.4-RELEASE-p11
>Organization:
Osaka Kyoiku Univ.
>Environment:
>Description:
ports/x11/xlockmore automatically detects libMagickCore.so if it exists
in a configure time, but does not record the dependency.
>How-To-Repeat:
>Fix:
The following diff to the Makefile.
@@ -27,7 +27,7 @@
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+= --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}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list