Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 21:40:02 -0700 (PDT)
From:      "R. Imura" <imura@cs.titech.ac.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/13749: PLIST incorrecct in kdelibs11-i18n,kdenetwork11-i18n
Message-ID:  <199909150440.VAA97726@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/13749; it has been noted by GNATS.

From: "R. Imura" <imura@cs.titech.ac.jp>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/13749: PLIST incorrecct in
 kdelibs11-i18n,kdenetwork11-i18n
Date: Wed, 15 Sep 1999 13:33:08 +0900

 >Because of updating libtool, librarys will not be installed correctly.
 >Even though I did not changed about libraries from old ports,
 >lib*.la are installed.
 >It seems to occur when using libtool with "--mode=link g++295".
 >("--mode=link gcc295" works same as old one)
 
 > Very quickly fix is change PLIST.
 
 I changed my mind not to install .la files.
 
 The problem is that new libtool seems to be unable to install .a files,
 when I let it not install .la files.
 
 For x11/kdelibs11-i18n:
 
 --- Makefile.orig       Sat Sep 11 07:44:52 1999
 +++ Makefile    Wed Sep 15 12:16:36 1999
 @@ -42,17 +42,13 @@
  .endif
  PLIST_SUB=     VERSION=${VERSION}
  
 +LIBS=  jscript kabi18n kdecore kdeui kfilei18n kfm khtmlw kimgio kspell mediatool
 +
  post-install:
         ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 -       ${LN} -sf libjscript.so.${VERSION}   ${PREFIX}/lib/libjscript.so
 -       ${LN} -sf libkabi18n.so.${VERSION}       ${PREFIX}/lib/libkabi18n.so
 -       ${LN} -sf libkdecore.so.${VERSION}   ${PREFIX}/lib/libkdecore.so
 -       ${LN} -sf libkdeui.so.${VERSION}     ${PREFIX}/lib/libkdeui.so
 -       ${LN} -sf libkfilei18n.so.${VERSION}     ${PREFIX}/lib/libkfilei18n.so
 -       ${LN} -sf libkfm.so.${VERSION}       ${PREFIX}/lib/libkfm.so
 -       ${LN} -sf libkhtmlw.so.${VERSION}    ${PREFIX}/lib/libkhtmlw.so
 -       ${LN} -sf libkimgio.so.${VERSION}    ${PREFIX}/lib/libkimgio.so
 -       ${LN} -sf libkspell.so.${VERSION}    ${PREFIX}/lib/libkspell.so
 -       ${LN} -sf libmediatool.so.${VERSION} ${PREFIX}/lib/libmediatool.so
 +.for lib in ${LIBS}
 +       ${LN} -sf lib${lib}.so.${VERSION}   ${PREFIX}/lib/lib${lib}.so  
 +       ${RM} ${PREFIX}/lib/lib${lib}.la
 +.endfor
  
  .include <bsd.port.post.mk>
 
 
 For net/kdenetwork11-i18n:
 
 ------ Makefile.orig       Wed Sep 15 11:56:44 1999
 +++ Makefile    Wed Sep 15 13:27:58 1999
 @@ -51,22 +51,16 @@
  .endif
  PLIST_SUB=     VERSION=${VERSION}
  
 +LIBS=  ksirclistbox palistbox pbutton pframe pkfiledialog plabel plined plistbox \
 +       pmenudta pobjfinder ppopmenu pprogress ppushbt ptabdialog ptablevw
 +
  post-install:
         ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 -       ${LN} -sf libksirclistbox.so.${VERSION} ${PREFIX}/lib/ksirc/libksirclistbox.so
 -       ${LN} -sf libpalistbox.so.${VERSION} ${PREFIX}/lib/ksirc/libpalistbox.so
 -       ${LN} -sf libpbutton.so.${VERSION} ${PREFIX}/lib/ksirc/libpbutton.so
 -       ${LN} -sf libpframe.so.${VERSION} ${PREFIX}/lib/ksirc/libpframe.so
 -       ${LN} -sf libpkfiledialog.so.${VERSION} ${PREFIX}/lib/ksirc/libpkfiledialog.so
 -       ${LN} -sf libplined.so.${VERSION} ${PREFIX}/lib/ksirc/libplined.so
 -       ${LN} -sf libplistbox.so.${VERSION} ${PREFIX}/lib/ksirc/libplistbox.so
 -       ${LN} -sf libpmenudta.so.${VERSION} ${PREFIX}/lib/ksirc/libpmenudta.so
 -       ${LN} -sf libpobjfinder.so.${VERSION} ${PREFIX}/lib/ksirc/libpobjfinder.so
 -       ${LN} -sf libppopmenu.so.${VERSION} ${PREFIX}/lib/ksirc/libppopmenu.so
 -       ${LN} -sf libpprogress.so.${VERSION} ${PREFIX}/lib/ksirc/libpprogress.so
 -       ${LN} -sf libppushbt.so.${VERSION} ${PREFIX}/lib/ksirc/libppushbt.so
 -       ${LN} -sf libptabdialog.so.${VERSION} ${PREFIX}/lib/ksirc/libptabdialog.so
 -       ${LN} -sf libptablevw.so.${VERSION} ${PREFIX}/lib/ksirc/libptablevw.so
 +.for lib in ${LIBS}
 +       ${LN} -sf lib${libs}.so.${VERSION} ${PREFIX}/lib/ksirc/lib${lib}.so
 +       ${RM} ${PREFIX}/lib/ksirc/lib${lib}.la
 +.endfor
         ${LN} -sf libpuke.so.${VERSION} ${PREFIX}/lib/libpuke.so
 +       ${RM} ${PREFIX}/lib/libpuke.la
  
  .include <bsd.port.post.mk>
 
 ---
 R. Imura
 


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?199909150440.VAA97726>