ports/177216: [patch] graphics/libwmf always build without X11

Hirohisa Yamaguchi umq at ueo.co.jp
Fri Mar 22 00:50:01 UTC 2013


>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 at 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 at FreeBSD.org
-#
+# Created by: mm at FreeBSD.org
 # $FreeBSD$
-#
 
-WITHOUT_X11=	yes
+PORTNAME=	libwmf
+
+MAINTAINER=	ports at FreeBSD.org
+
+LICENSE=	GPLv2
+
+OPTIONS_UNSET=	X11
 PORTSCOUT=	ignore:1
 
 MASTERDIR=	${.CURDIR}/../libwmf

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


More information about the freebsd-ports-bugs mailing list