Skip to content
Permalink
Browse files

Remove the old hack of setting installbuilddir to /tmp, and instead s…

…et it

to ${prefix}/share/apr/build.  This is necessary because apr sticks a copy
of it's version of libtool there and then apache2 tries to use it later
(having found it's location via the apr-config program).

I'm still not sure why they feel the need to stash their own copy of libtool
on the system, but it doesn't seem to hurt anything, since it's out of the
way where only someone who goes looking for it can find it.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@955 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Garret Rooney
Garret Rooney committed Oct 5, 2002
1 parent 1f42635 commit f3b3e538960ea26169c2b03a5acd062dd93efb59
Showing with 4 additions and 1 deletion.
  1. +1 −1 devel/apr/Portfile
  2. +3 −0 devel/apr/contents
@@ -22,7 +22,7 @@ extract {
}

configure {
system "cd ${workpath}/apr && ./configure --prefix=${prefix} --with-installbuilddir=/tmp"
system "cd ${workpath}/apr && ./configure --prefix=${prefix} --with-installbuilddir=${prefix}/share/apr/build"
system "cd ${workpath}/apr-util && ./buildconf"
system "cd ${workpath}/apr-util && env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib ./configure --prefix=${prefix} --with-apr=${workpath}/apr --with-expat=${prefix}"
}
@@ -73,4 +73,7 @@ contents {
lib/libaprutil-0.a
lib/libaprutil-0.dylib
lib/libaprutil-0.la
share/apr/build/libtool
share/apr/build
share/apr
}

0 comments on commit f3b3e53

Please sign in to comment.
You can’t perform that action at this time.