Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 09:46:43 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        beech@FreeBSD.org
Subject:   ports/177216: [patch] graphics/libwmf always build without X11
Message-ID:  <86vc8ks1l8.wl%umq@ueo.co.jp>
Resent-Message-ID: <201303220050.r2M0o1rU017586@freefall.freebsd.org>

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

>Number:         177216
>Category:       ports
>Synopsis:       [patch] graphics/libwmf always build without X11
>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:   Fri Mar 22 00:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 8.3-RELEASE-p3 amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD **** 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The change in graphics/libwmf on PR ports/177171 looks incomplete.
	The OPTION X11 never be set

	http://svnweb.freebsd.org/ports?view=revision&revision=314881

	# and graphics/libwmf-nox11 need update, too.

>How-To-Repeat:
	`make -C /usr/ports/graphics/libwmf -V PORT_OPTIONS`
	returns ``DOCS EXAMPLES IPV6 NLS''

	any of
	`WITH=X11 make -C /usr/ports/graphics/libwmf -V PORT_OPTIONS`
	`OPTIONS_SET=X11 make -C /usr/ports/graphics/libwmf -V PORT_OPTIONS`
	`OPTIONS_SET+=X11 make -C /usr/ports/graphics/libwmf -V PORT_OPTIONS`
	return the same: ``DOCS EXAMPLES IPV6 NLS''.

>Fix:

	The patch follows:

Index: graphics/libwmf/Makefile
===================================================================
--- graphics/libwmf/Makefile	(revision 314883)
+++ graphics/libwmf/Makefile	(working copy)
@@ -17,6 +17,9 @@
 		png15:${PORTSDIR}/graphics/png \
 		freetype:${PORTSDIR}/print/freetype2
 
+OPTIONS_DEFINE=	X11
+OPTIONS_DEFAULT=X11
+
 USE_AUTOTOOLS=	libtool
 USE_GNOME=	libxml2
 GNU_CONFIGURE=	yes
Index: graphics/libwmf-nox11/Makefile
===================================================================
--- graphics/libwmf-nox11/Makefile	(revision 314883)
+++ graphics/libwmf-nox11/Makefile	(working copy)
@@ -1,11 +1,13 @@
-# New ports collection makefile for:   libwmf-nox11
-# Date created:		11 Oct 2011
-# Whom:			mm@FreeBSD.org
-#
+# Created by: mm@FreeBSD.org
 # $FreeBSD$
-#
 
-WITHOUT_X11=	yes
+PORTNAME=	libwmf
+
+MAINTAINER=	ports@FreeBSD.org
+
+LICENSE=	GPLv2
+
+OPTIONS_UNSET=	X11
 PORTSCOUT=	ignore:1
 
 MASTERDIR=	${.CURDIR}/../libwmf

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vc8ks1l8.wl%umq>