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@ |
||
---|---|---|
.. | ||
build | ||
db | ||
fetch | ||
install | ||
mk | ||
package | ||
patches | ||
plist | ||
templates | ||
README |
This directory does not hold ports, but rather stuff to help with building specific ports, or with checking packages. Better documentation will be written as this progresses. Quick list of what exists, most useful stuff first build/bundle-readmes: create README.html files and bundle them as one tar archive. fetch/check-distfiles heuristic to check the whole contents of /usr/ports/distfiles against all MD5 files in the ports tree. packages/check-dependencies Check dependencies for all packages in the current directory. Basically, verifies that the tsort in bsd.port.mk did their job. build/find-build-order used such as cat plist/i386 | build/find-build-order outputs a list of stuff that actually needs to be built to obtain those packages, in a suitable order for removing backward dependencies. Optional arg `build' or `run' to take only build or run dependencies into account. Major defect: tsort is not a stable sort, so find-build-order will rearrange the list it gets as input. build/out-of-date compare installed registered packages with INDEX, try to find out of date ports. install/make-plist perl helper for the make plist target db/network.conf Distfiles configuration. Tweakable by the user fetch/check-license legacy script used by Marco to check the LICENSE files install/create-user simple script to create new users account, based on db/users.db build/outdated-perl-ports compare perl ports INDEX entries with the latest module versions available from CPAN