FreeBSD Bugzilla – Attachment 56219 Details for
Bug 84877
[PATCH] print/acroread7: fix rpm error & apply konb to Master/Slave port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
acroread7.diff
acroread7.diff (text/plain), 2.57 KB, created by
chinsan
on 2005-08-13 20:20:21 UTC
(
hide
)
Description:
acroread7.diff
Filename:
MIME Type:
Creator:
chinsan
Created:
2005-08-13 20:20:21 UTC
Size:
2.57 KB
patch
obsolete
>diff -ruN acroread7.orig/Makefile acroread7/Makefile >--- acroread7.orig/Makefile Wed Aug 10 09:00:45 2005 >+++ acroread7/Makefile Sun Aug 14 03:03:14 2005 >@@ -7,17 +7,17 @@ > > PORTNAME= acroread7 > PORTVERSION= 7.0.0 >-CATEGORIES= print linux >-MASTER_SITES= http://download.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ \ >- ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ >-DISTNAME= AdobeReader_enu-7.0.0-2.i386.rpm >+CATEGORIES+= print linux >+MASTER_SITES= http://download.adobe.com/pub/adobe/reader/unix/7x/7.0/${ADOBE_LANG}/ \ >+ ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/${ADOBE_LANG}/ >+DISTNAME= AdobeReader_${ADOBE_LANG}-7.0.0-2.i386.rpm > EXTRACT_SUFX= > DIST_SUBDIR= acroread > EXTRACT_ONLY= > RESTRICTED= "Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html" > >-MAINTAINER= trevor@FreeBSD.org >-COMMENT= View, distribute and print PDF documents >+MAINTAINER?= trevor@FreeBSD.org >+COMMENT?= View, distribute and print PDF documents > > BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm > RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \ >@@ -34,6 +34,10 @@ > PLIST= ${WRKDIR}/plist > PREFIX?= ${LINUXBASE} # have a look at the USE_XLIB comment > >+.if !defined(ADOBE_LANG) >+ADOBE_LANG?= enu >+.endif >+ > pre-install: > @kldstat -v | ${GREP} -E 'linux(aout|elf)' >/dev/null ||\ > { ${ECHO_MSG} "Linux ABI compatibility must be enabled to install ${PORTNAME}-${PORTVERSION}"; \ >@@ -49,9 +53,11 @@ > @${ECHO} @cwd %%LOCALBASE%% >> ${PLIST} > @${ECHO} bin/acroread7 >> ${PLIST} > @${ECHO} bin/acroread >> ${PLIST} >+ @${ECHO} "@unexec rpm -e --noscripts --root ${PREFIX} --dbpath /var/lib/rpm \ >+ ${DISTNAME:S/.i386.rpm//} 2>/dev/null || ${TRUE}" >> ${PLIST} > > do-install: >- @rpm -U --ignorearch --ignoreos --root ${PREFIX} --dbpath /var/lib/rpm \ >+ @rpm -U --force --ignorearch --ignoreos --root ${PREFIX} --dbpath /var/lib/rpm \ > --nodeps --replacepkgs ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} || ${TRUE} > # disable the PPKLite plugin as it requires an LDAP share lib > ${CHMOD} 0 ${PREFIX}/usr/local/Adobe/Acrobat7.0/Reader/intellinux/plug_ins/PPKLite.api >@@ -63,6 +69,6 @@ > cd ${LOCALBASE}/bin ; ${LN} -sf ${PREFIX}/usr/local/Adobe/Acrobat7.0/bin/acroread acroread7 > cd ${LOCALBASE}/bin ; ${LN} -sf ${PREFIX}/usr/local/Adobe/Acrobat7.0/bin/acroread acroread > @${ECHO_MSG} "Be sure to read the license agreement in" >- @${ECHO_MSG} "${PREFIX}/usr/local/Adobe/Acrobat7.0/Reader/Legal/ENU/license_ENU_uc.txt" >+ @${ECHO_MSG} "${PREFIX}/usr/local/Adobe/Acrobat7.0/Reader/Legal/${ADOBE_LANG:U}/license_${ADOBE_LANG:U}_uc.txt" > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84877
: 56219