Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 18:16:06 -0700 (PDT)
From:      Adam Weinberger <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41097: patch: fix graphics/xmms-xvs
Message-ID:  <200207290116.g6T1G6MQ071155@vectors.cx>

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

>Number:         41097
>Category:       ports
>Synopsis:       patch: fix graphics/xmms-xvs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 28 18:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.6-STABLE FreeBSD 4.6-STABLE #113: Wed Jul 24 12:13:03 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	graphics/xmms-xvs has incorrect paths for the libxml2 libraries.
	
>How-To-Repeat:
	
>Fix:

	

	this patches graphics/xmms-xvs/Makefile

--- xmms-xvs.patch begins here ---
--- Makefile.orig	Sun Jul 28 17:58:49 2002
+++ Makefile	Sun Jul 28 18:06:58 2002
@@ -19,6 +19,7 @@
 LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2
 
 USE_GTK=	yes
+USE_REINPLACE= yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	XML2_CONFIG="${LOCALBASE}/bin/xml2-config" \
 		XMMS_CONFIG="${X11BASE}/bin/xmms-config"
@@ -27,6 +28,17 @@
 
 DOCS=	AUTHORS ChangeLog NEWS README TODO
 
+post-patch:
+	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
+		's|<parser.h>|<libxml/parser.h>|g; \
+		 s|<hash.h>|<libxml/hash.h>|g; \
+		 s|<xmlmemory.h>|<libxml/xmlmemory.h>|g; \
+		 s|<tree.h>|<libxml/tree.h>|g; \
+		 s|<xmlerror.h>|<libxml/xmlerror.h>|g; \
+		 s|<xmlIO.h>|<libxml/xmlIO.h>|g; \
+		 s|<parserInternals.h>|<libxml/parserInternals.h>|g; \
+		 s|<entities.h>|<libxml/entities.h>|g; \
+		 s|<xmlversion.h>|<libxml/xmlversion.h>|g'
 .if !defined(NOPORTDOCS)
 post-install:
 	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
--- xmms-xvs.patch ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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