From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 16 07:10:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35693AEF for ; Sun, 16 Dec 2012 07:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E1F858FC17 for ; Sun, 16 Dec 2012 07:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBG7A00c032242 for ; Sun, 16 Dec 2012 07:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBG7A0Kq032238; Sun, 16 Dec 2012 07:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 16 Dec 2012 07:10:00 GMT Resent-Message-Id: <201212160710.qBG7A0Kq032238@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Katsura Matsumoto Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BCD48AF for ; Sun, 16 Dec 2012 07:01:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 13C1A8FC14 for ; Sun, 16 Dec 2012 07:01:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBG71J41090784 for ; Sun, 16 Dec 2012 07:01:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBG71JbF090761; Sun, 16 Dec 2012 07:01:19 GMT (envelope-from nobody) Message-Id: <201212160701.qBG71JbF090761@red.freebsd.org> Date: Sun, 16 Dec 2012 07:01:19 GMT From: Katsura Matsumoto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174469: ports/x11/xlockmore: add imagemagick dependency as an option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 07:10:01 -0000 >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: