Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 07:01:19 GMT
From:      Katsura Matsumoto <katsura@cc.osaka-kyoiku.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174469: ports/x11/xlockmore: add imagemagick dependency as an option
Message-ID:  <201212160701.qBG71JbF090761@red.freebsd.org>
Resent-Message-ID: <201212160710.qBG7A0Kq032238@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212160701.qBG71JbF090761>