Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 03:47:41 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31944: bsd.port.mk: USE_XPM (implied by USE_MOTIF) should be in the pre- section
Message-ID:  <200111130247.fAD2lfI97503@gits.dyndns.org>

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

>Number:         31944
>Category:       ports
>Synopsis:       bsd.port.mk: USE_XPM (implied by USE_MOTIF) should be in the pre- section
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 12 18:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.4-STABLE FreeBSD 4.4-STABLE #10: Sat Nov 10 19:15:45 CET 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:
	since USE_XPM is implied by USE_MOTIF, it should not be needed to
	define it in /etc/make.conf. but since it is in the post- section
	of bsd.port.mk, it is necessary to define it in there or ports
	such as xmotd (or the one - xtel - I'm currently updating) are
	build w/o Xpm support !
>How-To-Repeat:
	cd x11/xmotd
	make
>Fix:

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.387
diff -u -r1.387 bsd.port.mk
--- bsd.port.mk	2001/11/09 15:48:40	1.387
+++ bsd.port.mk	2001/11/13 02:38:21
@@ -720,6 +720,10 @@
 
 .include "${PORTSDIR}/Mk/bsd.gnome.mk"
 
+.if defined(USE_MOTIF)
+USE_XPM=			yes
+.endif
+
 # defaults to 4.x for -CURRENT; and 3.3.6 for all other branches
 .if ${OSVERSION} > 500025
 XFREE86_VERSION?=	4
@@ -827,7 +831,6 @@
 .endif
 
 .if defined(USE_MOTIF)
-USE_XPM=			yes
 .if !defined(NO_OPENMOTIF)
 LIB_DEPENDS+=		Xm.2:${PORTSDIR}/x11-toolkits/open-motif
 .endif
>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?200111130247.fAD2lfI97503>