From owner-freebsd-ports Sun May 28 6:43:38 2000 Delivered-To: freebsd-ports@freebsd.org Received: from praseodumium.btinternet.com (praseodumium.btinternet.com [194.73.73.82]) by hub.freebsd.org (Postfix) with ESMTP id 07EA937B813 for <ports@freebsd.org>; Sun, 28 May 2000 06:43:35 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [213.1.167.206] (helo=parish.my.domain) by ruthenium.btinternet.com with esmtp (Exim 2.05 #1) id 12vs93-0007ZS-00; Sun, 28 May 2000 02:45:37 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id CAA09567; Sun, 28 May 2000 02:45:27 +0100 (BST) (envelope-from mark) Date: Sun, 28 May 2000 02:45:26 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Cc: ports@freebsd.org Subject: Re: Latest wine port doesn't install libs Message-ID: <20000528024526.B233@parish> References: <20000527115415.K233@parish> <Pine.BSF.4.21.0005272022300.58536-100000@deneb.dbai.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <Pine.BSF.4.21.0005272022300.58536-100000@deneb.dbai.tuwien.ac.at>; from pfeifer@dbai.tuwien.ac.at on Sat, May 27, 2000 at 08:39:35PM +0200 Organization: Total lack of Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, May 27, 2000 at 08:39:35PM +0200, Gerald Pfeifer wrote: > On Sat, 27 May 2000, Mark Ovens wrote: > > The latest version of the wine port is broken; it doesn't install it's > > .so libs. > > Seems like a case of ``Let's reinvent the wheel instead of using what > the original package authors intended us to use''. <sigh> :-( > > > --- dlls/Makefile.in.orig Mon Mar 27 05:25:23 2000 > > +++ dlls/Makefile.in Thu Apr 20 04:02:24 2000 > > @@ -215,7 +215,7 @@ > > > > install:: > > for i in $(INSTALLSUBDIRS); do (cd $$i && $(MAKE) install) || exit 1; done > > - -$(LDCONFIG) > > + -$(LDCONFIG) -R > > The really correct solution would be to have this handled via autoconf and > ./configure, but I'll add that to the port shortly, thanks! > > (Before I'll upgrade the port to 2000.05.26, however.) > > > and to run ``make install'' in the dlls directory. I've made a patch > > for the Makefile: > > > > *** Makefile.orig Fri May 26 18:59:13 2000 > > --- Makefile Fri May 26 19:03:39 2000 > > *************** > > *** 53,58 **** > > --- 53,59 ---- > > programs/regapi/regapi > > ${INSTALL_PROGRAM} ${WRKSRC}/${EXEC} ${PREFIX}/bin > > .endfor > > + cd ${WRKSRC}/dlls && ${MAKE} install > > ${INSTALL_SCRIPT} ${WRKDIR}/regSet.sh ${PREFIX}/bin > > Thanks! I'll consider that patch or -- but this seems more involved -- > killing part of the port-specific installation machinery in favor of > what Wine natively provides. > > > This all works fine, however I can't submit a PR because I can't get > > the PLIST correct so that it deinstalls completely. The .so libs have > > a large number of symlinks installed and I can't get these to be > > deleted (you don't list symlinks in PLIST, right?) > > I'm not a FreeBSD port expert (yet?), but in principle we could just > remove ${PREFIX}/lib/wine, couldn't we? > Except that they are installed in /usr/local/lib, not /usr/local/lib/wine. Mind you, I suppose we *could* put them in /usr/local/lib/wine and mod patch-ad to change the line EXTRA_LD_LIBRARY_PATH=${HOME}/wine/cvs/lib to EXTRA_LD_LIBRARY_PATH=${PREFIX}/lib/wine > Gerald > -- > Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ > -- ...and on the eighth day God created UNIX ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message