ports/75100: [PATCH] textproc/sgmltools-lite: [fix broken pkg-plist]

Chris Larsen darth at vader.dk
Wed Dec 15 10:50:18 UTC 2004


>Number:         75100
>Category:       ports
>Synopsis:       [PATCH] textproc/sgmltools-lite: [fix broken pkg-plist]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 10:50:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chris Larsen
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vader 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Tue Nov  9 16:51:41 CET
>Description:
LOCALBASE was used for installing the datadir, that will make 'port test'
validation fail. See fix.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
Use PREFIX instead of LOCALBASE for installation, 'port test' works without
complaining after this.
pkg-plist seems to be fine, no need to change.

--- sgmltools-lite-3.0.3_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /host/cvs/usr/home/ncvs/ports/textproc/sgmltools-lite/Makefile,v
retrieving revision 1.11
diff -c -u -r1.11 Makefile
--- Makefile	26 Nov 2004 00:46:02 -0000	1.11
+++ Makefile	15 Dec 2004 10:43:39 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	sgmltools-lite
 PORTVERSION=	3.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	sgmltools-lite
@@ -21,11 +21,9 @@
 RUN_DEPENDS+=	${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook \
 		${LOCALBASE}/share/sgml/docbook/dsssl:${PORTSDIR}/textproc/dsssl-docbook-modular
 
-BROKEN=		Broken pkg-plist
-
 MAN1=		sgmltools-lite.1
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-etcsgml=${PREFIX}/etc/sgml --datadir=${LOCALBASE}/share
+CONFIGURE_ARGS+=--with-etcsgml=${PREFIX}/etc/sgml --datadir=${PREFIX}/share
 
 pre-configure:
 	${RM} -f ${WRKSRC}/config.cache
@@ -34,6 +32,6 @@
 	${MKDIR} ${PREFIX}/etc/sgml
 
 post-install:
-	${ECHO_CMD} "3.0.3" > ${LOCALBASE}/share/sgml/misc/sgmltools/VERSION
+	${ECHO_CMD} "3.0.3" > ${PREFIX}/share/sgml/misc/sgmltools/VERSION
 
 .include <bsd.port.mk>
--- sgmltools-lite-3.0.3_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list