summaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp/patches/000-compile.patch
blob: 7f96ce0a79bdfefa984e45d1f9673a64f775101f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/bind/Makefile
+++ b/bind/Makefile
@@ -61,9 +61,12 @@ all:
 		echo Bind export libraries already installed ;               \
 	else                                                                 \
 		echo Building BIND Export libraries - this takes some time. ;\
+		(cd ${bindsrcdir}/lib/export/dns ;                           \
+		  echo building gen using ${BUILD_CC} in `pwd` ;             \
+		  $(MAKE) CC=${BUILD_CC} CFLAGS="-O2" LIBS="" gen) ;         \
 		(cd ${bindsrcdir}/lib/export ;                               \
 		  echo building in `pwd` ;                                   \
-		  MAKE=${GMAKE} ${GMAKE} > ${binddir}/build.log) ;           \
+		  $(MAKE) DESTDIR="" install > ${binddir}/build.log) ;       \
                                                                              \
 		echo Installing BIND Export libraries to ${binddir}. ;       \
 		(cd ${bindsrcdir}/lib/export ;                               \
@@ -77,6 +80,7 @@ clean:
 
 # Include the following so that this Makefile is happy when the parent
 # tries to use them.
+install-exec:
 
 distdir: