75c9fbaa3f
SHARED_LIBS enumerates the libraries like so: SHARED_LIBS= foo 1.0 \ zop 2.5 \ tag 3.0 This just defines LIBfoo_VERSION=1.0, LIBzop_VERSION=2.5, LIBtag_VERSION=3.0 and adds these to SUBST_VAR, further tweaks must be done, usually at the MAKE_FLAGS/MAKE_ENV level. For gnu ports that use automake, the supplementary MODGNU_SHARED_LIBS variable can be used like this: MODGNU_SHARED_LIBS= foo '-no-undefined' and it will define libfoo_la_LD_FLAGS=--version-info 1:0:0 -no-undefined Some gnu ports have weird variable names for libraries. For instance, the libORBit-2 is set using libORBit_2. LIBORbit-2_ALIAS=ORBit_2 will make sure the correct name is used. much feedback from bernd@ |
||
---|---|---|
.. | ||
automake.dep | ||
bsd.port.mk | ||
bsd.port.subdir.mk | ||
gcc3.port.mk | ||
gettext.port.mk | ||
ghc.port.mk | ||
gnu.port.mk | ||
iconv.port.mk | ||
imake.port.mk | ||
java.port.mk | ||
kde.port.mk | ||
modules.port.mk | ||
ocaml.port.mk | ||
old-install.mk | ||
pear.port.mk | ||
perl.port.mk | ||
pkgpath.mk | ||
python.port.mk | ||
qt2.port.mk | ||
qt3.port.mk | ||
qt.port.mk | ||
ruby.port.mk | ||
zope.port.mk |