Date: Wed, 17 May 2006 14:49:39 -0700 (PDT) From: "Eric P. Scott" <eps+pbug0605@ana.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97429: Un-break net-im/aim Message-ID: <200605172149.k4HLnduj015447@anna.ana.com> Resent-Message-ID: <200605172150.k4HLoJBN025295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97429 >Category: ports >Synopsis: Un-break net-im/aim >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 17 21:50:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eric P. Scott >Release: FreeBSD 6.1-RELEASE i386 >Organization: ana-systems, Inc. >Environment: System: FreeBSD tools 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The net-im/aim package built for 6.1-RELEASE doesn't work; the client fails to launch: % aim /usr/X11R6/libexec/aim: error while loading shared libraries: libXprt.so.1: cannot open shared object file: No such file or directory >How-To-Repeat: Install aim-1.5.286_2.tbz >Fix: Move the Linuxy bits to their "expected" location under LINUXBASE, leaving the FreeBSD wrapper script where is is. Add INSTALLS_SHLIB to the Makefile. N.B.: If you've used previous port revisions, and AIM now crashes on startup with a SIGSEGV, you probably have an old preferences configuration. If the [Options] section of your ~/.aim/profile contains a line that reads: Install Dir=/usr/X11R6/lib/aim you'll need to change it to: Install Dir=/usr/lib/aim Alternatively, you can obliterate your ~/.aim directory, and let the client rebuild it (although this will reset all your preferences back to the defaults). --- net-im/aim/Makefile.orig Tue Nov 8 23:48:08 2005 +++ net-im/aim/Makefile Wed May 17 13:55:14 2006 @@ -2,12 +2,12 @@ # Date created: Sat Jan 13 12:40:20 GMT 2001 # Whom: Roger Hardiman <roger@freebsd.org> # -# $FreeBSD: ports/net-im/aim/Makefile,v 1.10 2005/11/09 07:48:08 pav Exp $ +# $FreeBSD$ # PORTNAME= aim PORTVERSION= 1.5.286 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im linux MASTER_SITES= ftp://ftp.newaol.com/aimgen/380469/ DISTNAME= aim-${PORTVERSION} @@ -23,22 +23,27 @@ USE_X_PREFIX= yes NO_WRKSUBDIR= yes NO_BUILD= yes +INSTALLS_SHLIB= yes +USE_LINUX_PREFIX= yes +PLIST_SUB= LINUXBASE=${LINUXBASE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec - ${BRANDELF} -t Linux ${PREFIX}/libexec/aim - (cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${PREFIX}/lib;exec ${TAR} -xpf -) + ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${LINUXBASE}/usr/bin + ${BRANDELF} -t Linux ${LINUXBASE}/usr/bin/aim + (cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${LINUXBASE}/usr/lib;exec ${TAR} -xpf -) @${ECHO_CMD} "#!/bin/sh" >${PREFIX}/bin/aim @${ECHO_CMD} "ulimit -Sc 0" >>${PREFIX}/bin/aim - @${ECHO_CMD} -n "exec ${PREFIX}/libexec/aim --install_dir ${PREFIX}/lib/aim" >>${PREFIX}/bin/aim + @${ECHO_CMD} -n "exec ${LINUXBASE}/usr/bin/aim" >>${PREFIX}/bin/aim @${ECHO_CMD} ' "$$@"' >>${PREFIX}/bin/aim ${CHMOD} ${BINMODE} ${PREFIX}/bin/aim +.include <bsd.port.pre.mk> + post-install: -.if !exists(${LINUXBASE}/usr/bin/esdplay) && !exists(${PREFIX}/bin/esdplay) +.if !exists(${LINUXBASE}/usr/bin/esdplay) && !exists(${LOCALBASE}/bin/esdplay) @${ECHO_MSG} "-----------------------------------------------------------------" @${ECHO_MSG} "Install audio/linux-esound or disable Sounds in aim's Preferences" @${ECHO_MSG} "-----------------------------------------------------------------" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- net-im/aim/pkg-plist.orig Fri Dec 5 06:01:39 2003 +++ net-im/aim/pkg-plist Wed May 17 13:54:51 2006 @@ -1,4 +1,6 @@ bin/aim +@cwd %%LINUXBASE%%/usr +bin/aim lib/libXpcs.so lib/libXpcs.so.1 lib/libXprt.so @@ -127,7 +129,6 @@ lib/aim/sounds/talkbeg.wav lib/aim/sounds/talkend.wav lib/aim/sounds/talkstop.wav -libexec/aim @dirrm lib/aim/extra @dirrm lib/aim/help/images @dirrm lib/aim/help >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605172149.k4HLnduj015447>