ports/85254: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to etc/ld.so.conf
Boris Samorodov
bsam at ipt.ru
Tue Aug 23 17:40:19 UTC 2005
>Number: 85254
>Category: ports
>Synopsis: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to etc/ld.so.conf
>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: Tue Aug 23 17:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Boris Samorodov
>Release: FreeBSD 5.4-STABLE i386
>Organization:
InPharmTech, Co
>Environment:
System: FreeBSD serv3.int.kfs.ru 5.4-STABLE FreeBSD 5.4-STABLE #5: Thu Aug 18 12:43:13 MSD 2005 niva at serv3.int.kfs.ru:/usr/obj/usr/src/sys/SERV1 i386
>Description:
Old distribution (linux_base -- rh-7) used to have line
"/usr/X11R6/lib" at etc/ld.so.conf. But rh-9 distribution does not
have it. Hence, after upgrading some programms (ie Acrobat Reader)
does not find the needed libraries.
>How-To-Repeat:
Try to install emulators/linux_base-rh-9 and run linux program
which is using X libs.
>Fix:
The patch should be applied at /usr/ports/emulators/linux_base-rh-9
directory.
--- patch.linux begins here ---
--- Makefile.orig Tue Aug 23 21:04:03 2005
+++ Makefile Tue Aug 23 21:23:29 2005
@@ -8,6 +8,7 @@
PORTNAME= linux_base-rh
PORTVERSION= 9
+PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX} \
${MASTER_SITE_REDHAT_LINUX:S/$/:new/}
@@ -138,6 +139,9 @@
done
@${LN} -sf /var/tmp ${WRKSRC}/usr/tmp
+post-patch:
+ ${ECHO} "/usr/X11R6/lib" >> ${WRKSRC}/etc/ld.so.conf
+
pre-install:
${RM} -f ${PLIST}
cd ${WRKSRC} && ${FIND} -s . -type f -o -type l | \
@@ -149,6 +153,7 @@
${FIND} ${PREFIX} -type d -exec ${CHMOD} 755 \{\} \;
post-install:
+ ${PREFIX}/sbin/ldconfig
@${ECHO} ''
@fmt ${PKGMESSAGE}
@${ECHO} ''
--- patch.linux ends here ---
WBR
--
bsam
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list