Remove the 'run ldconfig in the chroot' hack from the README now that
cmake has been fixed to not register full paths in libraries, thx to dcoppa@.
This commit is contained in:
parent
d815108fc8
commit
73ed962fe6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/08/26 18:38:49 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2014/10/06 08:28:35 landry Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -11,6 +11,7 @@ GH_PROJECT = mapcache
|
||||
DISTNAME = ${GH_PROJECT}-${GH_TAGNAME}
|
||||
PKGNAME = ${GH_PROJECT}-1.2.1
|
||||
SHARED_LIBS += mapcache 0.0
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES= geo www
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: README,v 1.1.1.1 2014/08/26 18:38:49 landry Exp $
|
||||
# $OpenBSD: README,v 1.2 2014/10/06 08:28:35 landry Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -12,11 +12,6 @@ chroot pointing to those dirs. You can do all this with:
|
||||
# mkdir -p /var/www/usr/{libexec,{,local,X11R6}/lib}
|
||||
# ldd /var/www/cgi-bin/mapcache | awk '/lib/ { print $7 }' | while read f ; do cp $f /var/www/$f ; done
|
||||
|
||||
# cp /sbin/ldconfig /var/www \
|
||||
&& mkdir -p /var/www/var/run \
|
||||
&& chroot /var/www ./ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib \
|
||||
&& rm /var/www/ldconfig
|
||||
|
||||
You also need to ensure mapcache can write to its cache directory, /tmp
|
||||
in the chroot by default:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user