From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 8 13:20:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E19EB16A418 for ; Wed, 8 Aug 2007 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B248713C457 for ; Wed, 8 Aug 2007 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l78DK1Gc009693 for ; Wed, 8 Aug 2007 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l78DK1Yw009692; Wed, 8 Aug 2007 13:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 8 Aug 2007 13:20:01 GMT Resent-Message-Id: <200708081320.l78DK1Yw009692@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Nottebrock Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4478B16A418 for ; Wed, 8 Aug 2007 13:12:42 +0000 (UTC) (envelope-from lofi@lofi.dyndns.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id BF37313C47E for ; Wed, 8 Aug 2007 13:12:41 +0000 (UTC) (envelope-from lofi@lofi.dyndns.org) Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 17E9715B958 for ; Wed, 8 Aug 2007 12:43:26 +0200 (CEST) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id 0003511446D for ; Wed, 8 Aug 2007 12:43:25 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-129-200.pools.arcor-ip.net [84.61.129.200]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id C890B2BB515 for ; Wed, 8 Aug 2007 12:43:25 +0200 (CEST) Received: from lofi.dyndns.org (smmsp@localhost [127.0.0.1]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l78AhNKB092476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Aug 2007 12:43:23 +0200 (CEST) (envelope-from lofi@lofi.dyndns.org) Received: (from lofi@localhost) by lofi.dyndns.org (8.13.8/8.13.3/Submit) id l78AVu13092334; Wed, 8 Aug 2007 12:31:56 +0200 (CEST) (envelope-from lofi) Message-Id: <200708081031.l78AVu13092334@lofi.dyndns.org> Date: Wed, 8 Aug 2007 12:31:56 +0200 (CEST) From: Michael Nottebrock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/115307: s/TARGETDIR/PREFIX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Nottebrock List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 13:20:02 -0000 >Number: 115307 >Category: ports >Synopsis: s/TARGETDIR/PREFIX >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 08 13:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Michael Nottebrock >Release: FreeBSD 6.2-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD lofi.dyndns.org 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #8: Tue Mar 6 13:58:27 CET 2007 root@lofi.dyndns.org:/usr/obj/usr/src/sys/LOFI.4BSD i386 >Description: The jabberd Makefile uses an undefined variable TARGETDIR. As a result JABBER_ETCDIR ends up being /etc/jabberd (probably not intended) and USE_LDCONFIG ends up being /lib/jabberd (wrong unless PREFIX is /). The attached patch changes TARGETDIR to PREFIX. >How-To-Repeat: >Fix: --- jabberd.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-im/jabberd/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 2 Aug 2007 08:34:42 -0000 1.43 +++ Makefile 8 Aug 2007 10:25:12 -0000 @@ -32,7 +32,7 @@ USE_OPENSSL= yes USE_ICONV= yes USE_RC_SUBR= jabberd -USE_LDCONFIG= ${TARGETDIR}/lib/jabberd +USE_LDCONFIG= ${PREFIX}/lib/jabberd CONFIGURE_ARGS+= --localstatedir=/var \ --sysconfdir=${PREFIX}/etc/jabberd \ --enable-ssl --enable-mio=poll \ @@ -44,7 +44,7 @@ JABBER_UID= 93 JABBER_GROUP= ${JABBER_USER} JABBER_GID= ${JABBER_UID} -JABBER_ETCDIR= "${TARGETDIR}/etc/jabberd" +JABBER_ETCDIR= "${PREFIX}/etc/jabberd" JABBER_RUNDIR= "/var/jabberd" SUB_LIST+= JABBER_USER=${JABBER_USER} JABBER_UID=${JABBER_UID} \ --- jabberd.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: