|
@@ -29,11 +29,11 @@ Summary: Berkeley Internet Name Domain (BIND)
|
|
|
URL: http://www.isc.org/products/BIND/
|
|
|
Vendor: Free Software Foundation
|
|
|
Packager: The OpenPKG Project
|
|
|
-Distribution: OpenPKG [EXP]
|
|
|
+Distribution: OpenPKG [REL]
|
|
|
Group: DNS
|
|
|
License: GPL
|
|
|
Version: 8.2.5
|
|
|
-Release: 20011126.0
|
|
|
+Release: 20011201.0
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.isc.org/isc/bind/src/%{version}/bind-src.tar.gz
|
|
@@ -49,7 +49,7 @@ Patch0: bind.patch
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20011126.0, make
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20011126.0, make, flex, bison
|
|
|
PreReq: OpenPKG, openpkg >= 20011126.0
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
@@ -67,6 +67,7 @@ AutoReqProv: no
|
|
|
%patch0 -p0
|
|
|
|
|
|
%build
|
|
|
+ PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
|
cd src
|
|
|
|
|
|
# make sure BIND accepts our overriding parameters later
|
|
@@ -82,6 +83,7 @@ AutoReqProv: no
|
|
|
case $systype in
|
|
|
freebsd ) cc="/usr/bin/cc" ;;
|
|
|
esac
|
|
|
+ cc="$cc -I%{l_prefix}/include -L%{l_prefix}/lib";
|
|
|
|
|
|
# now configure and build the package
|
|
|
%{l_make} %{l_mflags} \
|
|
@@ -98,6 +100,7 @@ AutoReqProv: no
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
+ PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
|
|
|
|
# install the standard stuff
|
|
|
( cd src
|