Difference between revisions of "MDNSResponder"

From CBLFS
Jump to navigationJump to search
Line 15: Line 15:
 
Compile the package:
 
Compile the package:
  
 +
cd mDNSPosix &&
 
  make os=linux
 
  make os=linux
  
Line 30: Line 31:
  
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 +
cd mDNSPosix &&
 
  make os=linux CC="gcc ${BUILD32}" LD="ld ${LD_BUILD32} -shared"
 
  make os=linux CC="gcc ${BUILD32}" LD="ld ${LD_BUILD32} -shared"
  
Line 42: Line 44:
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 
  sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile &&
 
  sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile &&
 +
cd mDNSPosix &&
 
  make os=linux CC="gcc ${BUILDN32}" LD="ld ${BUILD_N32} -shared"
 
  make os=linux CC="gcc ${BUILDN32}" LD="ld ${BUILD_N32} -shared"
  
Line 54: Line 57:
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 
  sed -i 's/cc/${CC}/' Clients/Makefile &&
 
  sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile &&
 
  sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile &&
 +
cd mDNSPosix &&
 
  make os=linux CC="gcc ${BUILD64}" LD="ld ${BUILD_64} -shared"
 
  make os=linux CC="gcc ${BUILD64}" LD="ld ${BUILD_64} -shared"
  

Revision as of 11:58, 1 October 2006

Download Source: http://gentoo.osuosl.org/distfiles/mDNSResponder-107.5.tar.gz

Dependencies

Required

Non-Multilib

Compile the package:

cd mDNSPosix &&
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 &&
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 &&
sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib32/|g' Makefile &&
cd mDNSPosix &&
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 &&
sed -i 's|$(INSTBASE)/lib/|$(INSTBASE)/lib64/|g' Makefile &&
cd mDNSPosix &&
make os=linux CC="gcc ${BUILD64}" LD="ld ${BUILD_64} -shared"

Install the package

make os=linux install