From owner-freebsd-ports Mon Jun 28 16:51:26 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E13C91548F for ; Mon, 28 Jun 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA80513; Mon, 28 Jun 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from emerson.gelemna.ft-wayne.in.us (fw-line-58.fwi.com [209.84.172.63]) by hub.freebsd.org (Postfix) with ESMTP id D557D15330 for ; Mon, 28 Jun 1999 16:48:13 -0700 (PDT) (envelope-from croyle@gelemna.ft-wayne.in.us) Received: (from croyle@localhost) by emerson.gelemna.ft-wayne.in.us (8.9.3/8.9.3) id SAA00459; Mon, 28 Jun 1999 18:50:38 -0500 (EST) (envelope-from croyle) Message-Id: <199906282350.SAA00459@emerson.gelemna.ft-wayne.in.us> Date: Mon, 28 Jun 1999 18:50:38 -0500 (EST) From: Don Croyle Reply-To: croyle@gelemna.ft-wayne.in.us To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12439: Lesstif port doesn't make the right symlinks Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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