mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 05:52:19 -04:00
19 lines
926 B
Plaintext
19 lines
926 B
Plaintext
$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`
|