From pav@hood.oook.cz  Wed Jun  8 07:53:17 2005
Return-Path: <pav@hood.oook.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3760216A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Jun 2005 07:53:17 +0000 (GMT)
	(envelope-from pav@hood.oook.cz)
Received: from hood.oook.cz (hood.oook.cz [212.27.205.50])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 87B9B43D49
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Jun 2005 07:53:16 +0000 (GMT)
	(envelope-from pav@hood.oook.cz)
Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1])
	by hood.oook.cz (8.13.3/8.13.3) with ESMTP id j587rFwT061294
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Jun 2005 09:53:15 +0200 (CEST)
	(envelope-from pav@hood.oook.cz)
Received: (from pav@localhost)
	by hood.oook.cz (8.13.3/8.13.3/Submit) id j587rFZv061293;
	Wed, 8 Jun 2005 09:53:15 +0200 (CEST)
	(envelope-from pav)
Message-Id: <200506080753.j587rFZv061293@hood.oook.cz>
Date: Wed, 8 Jun 2005 09:53:15 +0200 (CEST)
From: Pav Lucistnik <pav@freebsd.org>
Reply-To: Pav Lucistnik <pav@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] textproc/expat2 broke php4-xml
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82020
>Category:       ports
>Synopsis:       [patch] textproc/expat2 broke php4-xml
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 08 08:00:23 GMT 2005
>Closed-Date:    Sun Jun 12 16:19:52 GMT 2005
>Last-Modified:  Sun Jun 12 16:19:52 GMT 2005
>Originator:     Pav Lucistnik
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD hood.oook.cz 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon May 16 17:48:12 CEST 2005 root@hood.oook.cz:/usr/obj/usr/src/sys/PAV i386


	
>Description:
expat-1.95.8_2 is installing incorrect .la file which contains references
to files located in workdir, not in installdir. this breaks for example
php4-xml port.
>How-To-Repeat:
	
>Fix:
Don't install useless .la file at all. This fixes php4-xml compilation.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/expat2/Makefile,v
retrieving revision 1.28
diff -a -u -r1.28 Makefile
--- Makefile	5 Jun 2005 14:17:52 -0000	1.28
+++ Makefile	8 Jun 2005 07:50:13 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	expat
 PORTVERSION=	1.95.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	expat
@@ -27,9 +27,6 @@
 		SHELL="/bin/sh"
 PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/.libs/libexpat.la ${PREFIX}/lib
-
 list-depend-ports:
 	cd ${PORTSDIR}; \
 	find . -mindepth 3 -maxdepth 3 -name Makefile -execdir sh -c \
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/textproc/expat2/pkg-plist,v
retrieving revision 1.5
diff -a -u -r1.5 pkg-plist
--- pkg-plist	24 Apr 2005 09:37:32 -0000	1.5
+++ pkg-plist	8 Jun 2005 07:50:13 -0000
@@ -2,6 +2,5 @@
 include/expat.h
 include/expat_external.h
 lib/libexpat.a
-lib/libexpat.la
 lib/libexpat.so
 lib/libexpat.so.%%SHLIB_MAJOR%%
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kuriyama 
Responsible-Changed-By: pav 
Responsible-Changed-When: Wed Jun 8 08:08:42 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82020 

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, pav@freebsd.org
Cc:  
Subject: Re: ports/82020: [patch] textproc/expat2 broke php4-xml
Date: Thu, 9 Jun 2005 21:27:10 +0200

 See http://www.freebsd.org/cgi/query-pr.cgi?pr=81730 - patching the installed 
 libtool archive instead of a complete revert should work as well. Haven't 
 tested with php4-xml, perhaps you could try.
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Jun 12 16:19:43 GMT 2005 
State-Changed-Why:  
Committed via timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82020 
>Unformatted:
