From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 17 21:50:40 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EBE416A850 for ; Wed, 17 May 2006 21:50:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F7AA43D6D for ; Wed, 17 May 2006 21:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4HLoK8h025299 for ; Wed, 17 May 2006 21:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4HLoJBN025295; Wed, 17 May 2006 21:50:19 GMT (envelope-from gnats) Resent-Date: Wed, 17 May 2006 21:50:19 GMT Resent-Message-Id: <200605172150.k4HLoJBN025295@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eric P. Scott" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6337E16AC90 for ; Wed, 17 May 2006 21:46:53 +0000 (UTC) (envelope-from eps@anna.ana.com) Received: from anna.ana.com (anna.ana.com [207.7.142.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2505543D45 for ; Wed, 17 May 2006 21:46:53 +0000 (GMT) (envelope-from eps@anna.ana.com) Received: from anna.ana.com (localhost [127.0.0.1]) by anna.ana.com (8.13.5/8.13.5) with ESMTP id k4HLndnZ015448 for ; Wed, 17 May 2006 14:49:40 -0700 (PDT) Received: (from eps@localhost) by anna.ana.com (8.13.5/8.13.5/Submit) id k4HLnduj015447; Wed, 17 May 2006 14:49:39 -0700 (PDT) Message-Id: <200605172149.k4HLnduj015447@anna.ana.com> Date: Wed, 17 May 2006 14:49:39 -0700 (PDT) From: "Eric P. Scott" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97429: Un-break net-im/aim X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Eric P. Scott" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 21:50:45 -0000 >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 # -# $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 + 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 +.include --- 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: