ports/80480: Update port: print/acroread7 - fix incomplete plist
bkoenig at cs.tu-berlin.de
bkoenig at cs.tu-berlin.de
Sat Apr 30 15:50:02 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list