summaryrefslogtreecommitdiff
path: root/cad/vipec/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-04-14 21:11:59 +0000
committerdmcmahill <dmcmahill>2000-04-14 21:11:59 +0000
commita90647b7349db518e20ef7c1d02ea4a53b648042 (patch)
tree936d369f2b8297037f0ebba0161deb97ca6a2358 /cad/vipec/Makefile
parent6e9c7384a33929ff8464705c49c8500091349972 (diff)
downloadpkgsrc-a90647b7349db518e20ef7c1d02ea4a53b648042.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 'cad/vipec/Makefile')
0 files changed, 0 insertions, 0 deletions