Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 09:34:10 +1000 (EST)
From:      Phil Homewood <philh@mincom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        andy@icc.surw.chel.su
Subject:   ports/16046: [PATCH] pavuk port needlessly depends on X11
Message-ID:  <200001102334.JAA07325@cinnamon.mincom.com>

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

>Number:         16046
>Category:       ports
>Synopsis:       [PATCH] pavuk port needlessly depends on X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 10 15:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Phil Homewood
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Mincom Limited
>Environment:

	

>Description:

	/usr/ports/net/pavuk pulls in xpm, which requires X11.
	It seems to function OK without xpm.

>How-To-Repeat:

	Install pavuk on a machine without X, watch it install X.

>Fix:
	
	Don't include xpm support if NO_X11 is defined (from make.conf)


--- Makefile.o	Tue Jan 11 09:21:10 2000
+++ Makefile	Tue Jan 11 09:25:32 2000
@@ -18,10 +18,15 @@
 
 MAINTAINER=		andy@icc.surw.chel.su
 
-LIB_DEPENDS=		Xpm.4:${PORTSDIR}/graphics/xpm
-
 GNU_CONFIGURE=		yes
+
+.if defined(NO_X11)
+CONFIGURE_ARGS=		--disable-gtk
+.else
 CONFIGURE_ARGS=		--with-xpm-includes=${X11BASE}/include --disable-gtk
+LIB_DEPENDS=		Xpm.4:${PORTSDIR}/graphics/xpm
+.endif
+
 USE_GMAKE=		yes
 
 MAN1=			pavuk.1

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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