summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-04-14 21:11:59 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-04-14 21:11:59 +0000
commit3fbe47e75a54c7252c6cabdc3fb2f0ff26eaf517 (patch)
tree936d369f2b8297037f0ebba0161deb97ca6a2358 /packages
parenta29106d74f37b4e170f0d8bb165355e8c2300368 (diff)
downloadpkgsrc-3fbe47e75a54c7252c6cabdc3fb2f0ff26eaf517.tar.gz
move stuff yet again... Considerations which led to this decision are:
-it is important to be able to have the libraries in a place other than ${X11BASE}/lib or ${LOCALBASE}/lib. Otherwise, the order of -Ldir matters when other programs link to the qt1 pkg. If the order is wrong, the pkgs which use qt1 pick up libqt from this pkg and fail. Since there are _many_ pkgs (and probably programs being written by individual users) which fall in this catergory, I decided it was too error prone to simply require a certain order of -Ldir. Additionally, it adds overhead to the maintainance of any pkgs which use qt. -it is important to keep the name "qt" for the libraries because everyone expects to use "-lqt" (not "-lqt2"). This is true for many automatically generated (for example from kdevelop) makefiles. The same is true for keeping the name "moc" instead of "moc2". -it would be nice to not totally ignore hier(7) by simply creating ${X11BASE}/qt2/ and putting everything under that directory. As a result of these considerations, the "final" resting place for the qt2 components are: ${X11BASE}/bin/qt2/ ${X11BASE}/lib/qt2/ ${X11BASE}/include/qt2/ ${X11BASE}/man/qt2/{man1,man3} ${X11BASE}/share/doc/qt2/ Most programs can correctly find the required components by using --with-qt-includes=${X11BASE}/include/qt2/ --with-qt-libraries=${X11BASE}/lib/qt2/ as configure arguments and setting the MOC environment variable to ${X11BASE}/bin/qt2/moc or putting ${X11BASE}/bin/qt2/ in the PATH. This makes it relatively easy to maintain a pkg which uses qt2 since these are set in the pkg Makefile instead of as a patch to the pkg.
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions