From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 16 20:29:36 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76B8E16A4CE for ; Tue, 16 Mar 2004 20:29:36 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F51343D3F for ; Tue, 16 Mar 2004 20:29:34 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i2H4TYCL050499 for ; Tue, 16 Mar 2004 20:29:34 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11) with ESMTP id i2H4TXuL018541 for ; Tue, 16 Mar 2004 20:29:33 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i2H4TXvg018540 for gnome@FreeBSD.org; Tue, 16 Mar 2004 20:29:33 -0800 (PST) (envelope-from marcel) Date: Tue, 16 Mar 2004 20:29:33 -0800 From: Marcel Moolenaar To: gnome@FreeBSD.org Message-ID: <20040317042933.GA18525@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [PATCH] textproc/docbook-sk: s/pre-install/pre-su-install/g X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 04:29:36 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Gang, The pre-install target creates directories under ${PREFIX}, which breaks if installing as non-root. The pre-install target happens before user credentials are switched. The attached patch fixes the port. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="docbook-sk.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-sk/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 11 Feb 2004 00:35:09 -0000 1.24 +++ Makefile 17 Mar 2004 04:20:55 -0000 @@ -31,7 +31,7 @@ CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports -pre-install: +pre-su-install: @[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent do-install: --k+w/mQv8wyuph6w0--