Difference between revisions of "MDNSResponder"
From CBLFS
Jump to navigationJump to search (fix multilib build) |
|||
(11 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | | + | | http://gentoo.osuosl.org/distfiles/mDNSResponder-{{MDNSResponder-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Blank-Package-Introduction}} | ||
== Dependencies == | == Dependencies == | ||
− | |||
− | |||
== Non-Multilib == | == Non-Multilib == | ||
Line 15: | Line 15: | ||
Compile the package: | Compile the package: | ||
+ | cd mDNSPosix && | ||
+ | sed -i '/$@ start/d' Makefile && | ||
make os=linux | make os=linux | ||
Line 22: | Line 24: | ||
== Multilib == | == Multilib == | ||
+ | |||
+ | If you do not have '''LD_BUILD[nn]''' set in your enviornment see the [[Bash Startup Files]] section. | ||
=== 32Bit === | === 32Bit === | ||
Line 27: | Line 31: | ||
Compile the package: | Compile the package: | ||
− | sed -i 's/cc/$ | + | 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" | make os=linux CC="gcc ${BUILD32}" LD="ld ${LD_BUILD32} -shared" | ||
Line 38: | Line 44: | ||
Compile the package: | Compile the package: | ||
− | sed -i 's/cc/$ | + | sed -i 's/cc/$(CC)/' Clients/Makefile && |
− | sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile | + | cd mDNSPosix && |
− | make os=linux CC="gcc ${BUILDN32}" LD="ld ${ | + | sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile && |
+ | sed -i '/^NSSINSTPATH/s/lib/lib32/' Makefile && | ||
+ | sed -i '/$@ start/d' Makefile && | ||
+ | make os=linux CC="gcc ${BUILDN32}" LD="ld ${LD_BUILDN32} -shared" | ||
Install the package | Install the package | ||
Line 50: | Line 59: | ||
Compile the package: | Compile the package: | ||
− | sed -i 's/cc/$ | + | sed -i 's/cc/$(CC)/' Clients/Makefile && |
− | sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile | + | cd mDNSPosix && |
− | make os=linux CC="gcc ${BUILD64}" LD="ld ${ | + | sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile && |
+ | sed -i '/^NSSINSTPATH/s/lib/lib64/' Makefile && | ||
+ | sed -i '/$@ start/d' Makefile && | ||
+ | make os=linux CC="gcc ${BUILD64}" LD="ld ${LD_BUILD64} -shared" | ||
Install the package | Install the package | ||
make os=linux install | make os=linux install | ||
+ | |||
+ | [[Category:Network Utilities]] |
Latest revision as of 04:55, 8 January 2010
Download Source: | http://gentoo.osuosl.org/distfiles/mDNSResponder-107.5.tar.gz |
---|
Contents
Introduction to MDNSResponder
Project Homepage: Unknown
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 '/^NSSINSTPATH/s/lib/lib32/' Makefile && sed -i '/$@ start/d' Makefile && make os=linux CC="gcc ${BUILDN32}" LD="ld ${LD_BUILDN32} -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 '/^NSSINSTPATH/s/lib/lib64/' Makefile && sed -i '/$@ start/d' Makefile && make os=linux CC="gcc ${BUILD64}" LD="ld ${LD_BUILD64} -shared"
Install the package
make os=linux install