From owner-freebsd-ports Mon Nov 12 18:50:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9618A37B41A for ; Mon, 12 Nov 2001 18:50:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAD2o5M18250; Mon, 12 Nov 2001 18:50:05 -0800 (PST) (envelope-from gnats) Received: from smtp.noos.fr (zola.noos.net [212.198.2.76]) by hub.freebsd.org (Postfix) with ESMTP id D8A6B37B405 for ; Mon, 12 Nov 2001 18:47:47 -0800 (PST) Received: (qmail 21268625 invoked by uid 0); 13 Nov 2001 02:47:42 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.76 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Nov 2001 02:47:42 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fAD2lfI97503; Tue, 13 Nov 2001 03:47:41 +0100 (CET) (envelope-from root) Message-Id: <200111130247.fAD2lfI97503@gits.dyndns.org> Date: Tue, 13 Nov 2001 03:47:41 +0100 (CET) From: Cyrille Lefevre Reply-To: Cyrille Lefevre To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31944: bsd.port.mk: USE_XPM (implied by USE_MOTIF) should be in the pre- section Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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