Date: Mon, 28 Jun 1999 18:50:38 -0500 (EST) From: Don Croyle <croyle@gelemna.ft-wayne.in.us> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12439: Lesstif port doesn't make the right symlinks Message-ID: <199906282350.SAA00459@emerson.gelemna.ft-wayne.in.us>
next in thread | raw e-mail | index | archive | help
>Number: 12439 >Category: ports >Synopsis: Lesstif port doesn't make the right symlinks >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 28 16:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Don Croyle >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: >Description: The new version of lesstif installs in ${PREFIX}/LessTif. It creates links to ${PREFIX}/lib for the .la files, but not for the .so* and .a files. Symlinks are created for libXm.so.1.2 and libXm.so.2.0, which is harmless but no longer desired. As a result of all of this, applications dynamicly linked against LessTif can't find the libraries and fail to build or run, >How-To-Repeat: >Fix: Apply this patch: diff -ruN lesstif.old/Makefile lesstif/Makefile --- lesstif.old/Makefile Sun Jun 27 19:05:06 1999 +++ lesstif/Makefile Mon Jun 28 06:29:17 1999 @@ -73,8 +73,14 @@ ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/alt.map ${PREFIX}/lib/X11/mwm ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/Mwm \ ${PREFIX}/lib/X11/app-defaults/Mwm - ${LN} -s ${PREFIX}/lib/libXm.so.1 ${PREFIX}/lib/libXm.so.1.2 - ${LN} -s ${PREFIX}/lib/libXm.so.2 ${PREFIX}/lib/libXm.so.2.0 + ${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.so.1 ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libMrm.so.2 ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.a ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/lib/libMrm.so.1 ${PREFIX}/lib/libMrm.so + ${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libXm.so.1 ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libXm.so.2 ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libXm.a ${PREFIX}/lib/ + ${LN} -sf ${PREFIX}/lib/libXm.so.1 ${PREFIX}/lib/libXm.so ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${RM} -f ${PREFIX}/share/doc/LessTif/COPYING ${RM} -f ${PREFIX}/share/doc/LessTif/COPYING.LIB >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906282350.SAA00459>