Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2005 17:47:08 +0200 (CEST)
From:      <bkoenig@cs.tu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80480: Update port: print/acroread7 - fix incomplete plist
Message-ID:  <20050430154708.6760812B0F6@alpha-tierchen.de>
Resent-Message-ID: <200504301550.j3UFo29M035099@freefall.freebsd.org>

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

>Number:         80480
>Category:       ports
>Synopsis:       Update port: print/acroread7 - fix incomplete plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 30 15:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
	The patch below fixes the incomplete package list and prevents a warning during
	the deinstallation of this port.
>How-To-Repeat:
>Fix:

--- acroread7.diff begins here ---
--- Makefile.orig	Sat Apr 30 17:18:39 2005
+++ Makefile    	Sat Apr 30 17:17:27 2005
@@ -24,8 +24,6 @@
 		${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \
 		${LINUXBASE}/usr/X11R6/lib/libXext.so.6:${PORTSDIR}/x11/linux-XFree86-libs
 
-BROKEN=		Incomplete pkg-plist
-
 CONFLICTS=	acroread
 
 ONLY_FOR_ARCHS=	amd64 i386
@@ -45,9 +43,13 @@
 	@${MKDIR} ${WRKSRC}/tmp
 	cd ${WRKSRC}/tmp; \
 		rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} | ${CPIO} -id; \
+		${RM} -rf usr/bin/acroread; \
 		${FIND} * -type f -o -type l > ${PLIST} \
 		&& ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' | \
 		${GREP} -vE "(usr/bin$$|local$$|share$$|usr$$)" >> ${PLIST}
+	@${ECHO} @cwd %%LOCALBASE%% >> ${PLIST}
+	@${ECHO} bin/acroread7 >> ${PLIST}
+	@${ECHO} bin/acroread >> ${PLIST}
 
 do-install:
 	@rpm -U --ignorearch --ignoreos --root ${PREFIX} --dbpath /var/lib/rpm \
--- acroread7.diff ends here ---


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



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