[PATCH] textproc/docbook-sk: s/pre-install/pre-su-install/g

Marcel Moolenaar marcel at xcllnt.net
Tue Mar 16 20:29:36 PST 2004


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 at xcllnt.net
-------------- next part --------------
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:


More information about the freebsd-gnome mailing list