[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ports
Subject: Re: How to handle files installed to
From: Max Brazhnikov <makc () issp ! ac ! ru>
Date: 2010-10-09 22:54:00
Message-ID: 201010100254.00372.makc () issp ! ac ! ru
[Download RAW message or body]
On Sun, 10 Oct 2010 00:02:11 +0200, Friedemann Becker wrote:
> Hello,
>
> I'm trying to make a port for musescore, it's compiling and
> installing, and now I'm working through the testing chapter in the
> porter's handbook.
> Musescore has some files that are installed into the
> /usr/local/lib/qt4/plugins/script/ directory, and I'm wondering how to
> handle them correctly. All other files install to ${PREFIX}/..., but I
> don't know what to do with the qt-lib directory. Is it okay to leave
> the files there, and if I do so how do I tell pkg-plist about that?
> Is it okay to just put absolute paths there? like
> /usr/local/lib/qt4/plugins/script/libqtscript_core.so?
bsd.qt.mk defines several substitutions for plist (e.g. QT_PLUGINDIR_REL for
lib/qt4/plugins), you should use them instead hardcoded paths.
> Also strange: there already are installed versions of these files, for
> instance it looks like
>
> -rwxr-xr-x 1 root wheel 2363778 Oct 9 12:48 libqtscript_uitools.so
> lrwxr-xr-x 1 root wheel 28 Jun 30 18:42
> libqtscript_uitools.so.1 -> libqtscript_uitools.so.1.0.0
> lrwxr-xr-x 1 root wheel 28 Jun 30 18:42
> libqtscript_uitools.so.1.0 -> libqtscript_uitools.so.1.0.0
> -r--r--r-- 1 root wheel 974529 Jun 30 18:42
> libqtscript_uitools.so.1.0.0
>
> where libqtscript_uitools.so is installed by Musescore, the symbolic
> links and the libqtscript_uitools.so.1.0.0 where already there.
>
> What to do best in this situation?
These are installed by devel/qtscriptgenerator. You should patch your port to
not install these files, otherwise your port will be in conflict with
qtscriptgenerator.
Max
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic