Browse Source

fix build on systems where 'cd && pwd' does not reveal a logical path

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
9bd32cc930
  1. 12
      apache2/apache2.patch
  2. 4
      apache2/apache2.spec

12
apache2/apache2.patch

@ -0,0 +1,12 @@
--- server/Makefile.in.dist 2003-07-03 16:40:35.000000000 +0200
+++ server/Makefile.in 2003-07-03 16:41:19.000000000 +0200
@@ -55,7 +55,8 @@
tmp=export_files_unsorted.txt; \
rm -f $$tmp && touch $$tmp; \
for dir in $(EXPORT_DIRS); do \
- ls $$dir/*.h >> $$tmp; \
+ abs_dir=`cd $$dir && pwd`; \
+ ls $$abs_dir/*.h >> $$tmp; \
done; \
sort -u $$tmp > $@; \
rm -f $$tmp

4
apache2/apache2.spec

@ -33,11 +33,12 @@ Distribution: OpenPKG [EVAL]
Group: Web
License: ASF
Version: 2.0.46
Release: 20030530
Release: 20030703
# list of sources
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
Source1: rc.apache2
Patch0: apache2.patch
# build information
Prefix: %{l_prefix}
@ -66,6 +67,7 @@ Conflicts: apache
%prep
%setup -q -n httpd-%{version}
%patch -p0
%build
CC="%{l_cc}" \

Loading…
Cancel
Save