|
|
|
@ -76,18 +76,9 @@ Conflicts: bind
|
|
|
|
|
echo "'DESTINC=/dummy'" >>port/$systype/Makefile.set |
|
|
|
|
echo "'DESTLIB=/dummy'" >>port/$systype/Makefile.set |
|
|
|
|
|
|
|
|
|
# find a reasonable compiler, but because of BIND v8's |
|
|
|
|
# system dependend linking stuff, we have to use the vendor |
|
|
|
|
# version on some platforms. |
|
|
|
|
cc="%{l_cc}" |
|
|
|
|
case $systype in |
|
|
|
|
freebsd ) cc="/usr/bin/cc" ;; |
|
|
|
|
esac |
|
|
|
|
cc="$cc" |
|
|
|
|
|
|
|
|
|
# now configure and build the package |
|
|
|
|
%{l_make} %{l_mflags} \ |
|
|
|
|
CC="$cc" \ |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
DESTDIR="$RPM_BUILD_ROOT" \ |
|
|
|
|
DESTBIN="%{l_prefix}/bin" \ |
|
|
|
|
DESTSBIN="%{l_prefix}/sbin" \ |
|
|
|
|