000-compile.patch (1245B)
1 diff --git a/bind/Makefile.in b/bind/Makefile.in 2 index bd784c6..5950d19 100644 3 --- a/bind/Makefile.in 4 +++ b/bind/Makefile.in 5 @@ -85,13 +85,13 @@ bind2: 6 echo Bind export libraries already installed ; \ 7 else \ 8 echo Building BIND Export libraries - this takes some time. ;\ 9 - (cd ${bindsrcdir}/lib/export ; \ 10 - echo building in `pwd` ; \ 11 - MAKE=${GMAKE} ${GMAKE} >> ${binddir}/build.log) ; \ 12 + (cd ${bindsrcdir}/lib/export/dns ; \ 13 + echo building gen using ${BUILD_CC} in `pwd` ; \ 14 + $(MAKE) CC=${BUILD_CC} CFLAGS="-O2" LIBS="" gen) ; \ 15 \ 16 echo Installing BIND Export libraries to ${binddir}. ; \ 17 (cd ${bindsrcdir}/lib/export ; \ 18 - MAKE=${GMAKE} ${GMAKE} install > ${binddir}/install.log) ; \ 19 + $(MAKE) DESTDIR="" install > ${binddir}/build.log) ; \ 20 fi 21 22 clean: 23 @@ -100,6 +100,7 @@ clean: 24 25 # Include the following so that this Makefile is happy when the parent 26 # tries to use them. 27 +install-exec: 28 29 distdir: 30