Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 09:53:15 +0200 (CEST)
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82020: [patch] textproc/expat2 broke php4-xml
Message-ID:  <200506080753.j587rFZv061293@hood.oook.cz>
Resent-Message-ID: <200506080800.j5880Nls035547@freefall.freebsd.org>

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

>Number:         82020
>Category:       ports
>Synopsis:       [patch] textproc/expat2 broke php4-xml
>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 Jun 08 08:00:23 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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