Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 19:43:46 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72005: palm/prc-tools: fix pkg-plist and unbreak.
Message-ID:  <200409221743.i8MHhk6P054799@wedge.madpilot.net>
Resent-Message-ID: <200409221750.i8MHoPxK000737@freefall.freebsd.org>

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

>Number:         72005
>Category:       ports
>Synopsis:       palm/prc-tools: fix pkg-plist and unbreak.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 22 17:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
none
>Environment:
System: FreeBSD wedge.madpilot.net 5.3-BETA5 FreeBSD 5.3-BETA5 #15: Mon Sep 20 14:35:52 CEST 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386

>Description:

Changed the behavious of the files breaking the plist for make package. Now they are not changing for every install anymore.

>How-To-Repeat:

cd /usr/ports/palm/prc-tools
make install
make deinstall
make reinstall
make package

>Fix:

diff -ruN prc-tools.old/Makefile prc-tools/Makefile
--- prc-tools.old/Makefile	Wed Sep 22 13:37:16 2004
+++ prc-tools/Makefile	Wed Sep 22 19:08:52 2004
@@ -22,8 +22,6 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Collection of tools supporting C and C++ programming for Palm OS
 
-BROKEN=		"Incorrect pkg-plist"
-
 # it is unknown whether it could actually be made to work elsewhere,
 # but right now it does not.
 ONLY_FOR_ARCHS=	i386
@@ -114,6 +112,9 @@
 	 ${LN} -sf ../gdb-5.3 gdb; \
 	 ${LN} -sf ../gcc-2.95.3 gcc295; \
 	 ${LN} -sf ../gcc-3.3.1 gcc; )
+
+post-configure:
+	${RM} ${WRKDIR}/gdb-5.3/bfd/doc/bfd.info*
 
 post-install:
 	${RM} ${PREFIX}/bin/m68k-palmos-c++filt
diff -ruN prc-tools.old/pkg-plist prc-tools/pkg-plist
--- prc-tools.old/pkg-plist	Wed Sep 22 13:37:16 2004
+++ prc-tools/pkg-plist	Wed Sep 22 18:57:45 2004
@@ -250,6 +250,7 @@
 @dirrm arm-palmos/include
 @dirrm arm-palmos/lib/ldscripts
 @dirrm arm-palmos/lib
+@unexec rmdir %D/arm-palmos/sys-include 2>/dev/null || true
 @dirrm arm-palmos
 @dirrm m68k-palmos/bin
 @dirrm m68k-palmos/include/sys
@@ -257,6 +258,7 @@
 @dirrm m68k-palmos/lib/mown-gp
 @dirrm m68k-palmos/lib/ldscripts
 @dirrm m68k-palmos/lib
+@unexec rmdir %D/m68k-palmos/sys-include 2>/dev/null || true
 @dirrm m68k-palmos
 @dirrm lib/gcc-lib/arm-palmos/3.3.1/include
 @dirrm lib/gcc-lib/arm-palmos/3.3.1/install-tools/include
>Release-Note:
>Audit-Trail:
>Unformatted:



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