[package] add ISC DHCP4 4.2.3-P1
[packages.git] / net / dhcp4 / patches / 001-bind-exports-fix-make.patch
1 --- a/bind/Makefile     2011-11-28 23:08:15.000000000 +0000
2 +++ b/bind/Makefile     2011-12-17 16:27:20.784433502 +0000
3 @@ -49,13 +49,16 @@
4  
5  # Build the export libraries
6         @echo Building BIND Export libraries - this takes some time.
7 +       @(cd ${bindsrcdir}/lib/export/dns ; \
8 +         echo building gen using ${BUILD_CC} in `pwd` ; \
9 +         $(MAKE) CC=${BUILD_CC} CFLAGS="-O2" LIBS="" gen)
10         @(cd ${bindsrcdir}/lib/export ; \
11           echo building in `pwd` ; \
12           MAKE=${GMAKE} ${GMAKE} > ${binddir}/build.log)
13  
14         @echo Installing BIND Export libraries to ${binddir}.
15         @(cd ${bindsrcdir}/lib/export ; \
16 -         MAKE=${GMAKE} ${GMAKE} install > ${binddir}/install.log)
17 +         $(MAKE) DESTDIR="" install > ${binddir}/install.log)
18  
19  clean:
20         @echo Cleaning BIND export library.
21 @@ -64,6 +67,7 @@
22  
23  # Include the following so that this Makefile is happy when the parent
24  # tries to use them.
25 +install-exec:
26  
27  distdir:
28