MDNSResponder

From CBLFS
Revision as of 14:53, 1 October 2006 by Jciccone (talk | contribs) (Multilib)
Jump to navigationJump to search
Download Source: http://gentoo.osuosl.org/distfiles/mDNSResponder-107.5.tar.gz

Dependencies

Non-Multilib

Compile the package:

cd mDNSPosix &&
sed -i '/$@ start/d' Makefile &&
make os=linux

Install the package

make os=linux install

Multilib

If you do not have LD_BUILD[nn] set in your enviornment see the Bash Startup Files section.

32Bit

Compile the package:

sed -i 's/cc/$(CC)/' Clients/Makefile &&
cd mDNSPosix &&
sed -i '/$@ start/d' Makefile &&
make os=linux CC="gcc ${BUILD32}" LD="ld ${LD_BUILD32} -shared"

Install the package

make os=linux install

N32

Compile the package:

sed -i 's/cc/$(CC)/' Clients/Makefile &&
cd mDNSPosix &&
sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile &&
sed -i '/$@ start/d' Makefile &&
make os=linux CC="gcc ${BUILDN32}" LD="ld ${BUILD_N32} -shared"

Install the package

make os=linux install

64Bit

Compile the package:

sed -i 's/cc/$(CC)/' Clients/Makefile &&
cd mDNSPosix &&
sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile &&
sed -i '/$@ start/d' Makefile &&
make os=linux CC="gcc ${BUILD64}" LD="ld ${BUILD_64} -shared"

Install the package

make os=linux install