Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 20:29:33 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        gnome@FreeBSD.org
Subject:   [PATCH] textproc/docbook-sk: s/pre-install/pre-su-install/g
Message-ID:  <20040317042933.GA18525@dhcp01.pn.xcllnt.net>

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

--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--



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