blob: f601d87f17909b4c11d73d99666f9e1ca84a2173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ac,v 1.1.1.1 2006/12/07 02:34:01 xtraeme Exp $
--- sapi/apache2/Makefile.in.orig 2004-10-02 10:24:09.000000000 +0200
+++ sapi/apache2/Makefile.in 2006-12-07 03:05:49.000000000 +0100
@@ -92,12 +92,7 @@
install: mod_xslt.la install-stamp Makefile
install-stamp: mod_xslt.la Makefile
- test "x$$UID" = "x" || test "x$$UID" = "x0" || { echo 'You must be root!'; exit 1; }
- $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) -D -o root -g root -m 0644 mod_xslt.la '$(DESTDIR)$(APXS_INSTALLDIR)'
- @echo Removing extra files...
- FILE=`grep dlname mod_xslt.la | sed -e "s/[^']*'\([^']*\).*/\1/"` && \
- find '$(DESTDIR)$(APXS_INSTALLDIR)' -name 'mod_xslt.*'|grep -v "$$FILE"|xargs rm -f && \
- echo '$(DESTDIR)$(APXS_INSTALLDIR)'/$(FILE) > install-stamp
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) mod_xslt.la '$(DESTDIR)$(APXS_INSTALLDIR)'
uninstall:
test -f install-stamp && rm -f `cat install-stamp`
|