Blob Blame History Raw
diff -up whatsup-1.12/src/Libnodeupdown/Makefile.in.orig whatsup-1.12/src/Libnodeupdown/Makefile.in
--- whatsup-1.12/src/Libnodeupdown/Makefile.in.orig	2011-03-10 18:10:12.915000392 +0100
+++ whatsup-1.12/src/Libnodeupdown/Makefile.in	2011-03-10 18:10:27.407993940 +0100
@@ -217,7 +217,7 @@ target_os = @target_os@
 target_vendor = @target_vendor@
 PERL_INC = "-I../../config -I$(srcdir)/../libcommon -I$(srcdir)/../libexpat -I$(srcdir)/../libnodeupdown"
 PERL_LIBS = "-L../libnodeupdown/.libs -lnodeupdown"
-MAKEMAKERFLAGS = INSTALLDIRS=site \
+MAKEMAKERFLAGS = INSTALLDIRS=vendor \
 		 DESTDIR=$(PERL_DESTDIR) \
 		 PREFIX=$(prefix) \
 		 INC=$(PERL_INC) \
diff -up whatsup-1.12/src/Nodeupdown/Makefile.in.orig whatsup-1.12/src/Nodeupdown/Makefile.in
--- whatsup-1.12/src/Nodeupdown/Makefile.in.orig	2011-03-10 18:16:54.358999944 +0100
+++ whatsup-1.12/src/Nodeupdown/Makefile.in	2011-03-10 18:17:37.551998743 +0100
@@ -222,9 +222,9 @@ target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-INSTALLSITEARCH = `$(PERL) -e 'use Config; $$T=$$Config{installsitearch}; $$T=~/^\Q$$Config{siteprefix}\E\/(.+)/; print $$1;'`
+INSTALLVENDORARCH = `$(PERL) -e 'use Config; $$T=$$Config{installvendorarch}; $$T=~/^\Q$$Config{vendorprefix}\E\/(.+)/; print $$1;'`
 @WITH_PERL_EXTENSIONS_TRUE@NODEUPDOWNPMFILES = Nodeupdown.pm
-@WITH_PERL_EXTENSIONS_TRUE@NODEUPDOWNPMFILESdir = $(prefix)/$(INSTALLSITEARCH)
+@WITH_PERL_EXTENSIONS_TRUE@NODEUPDOWNPMFILESdir = $(prefix)/$(INSTALLVENDORARCH)
 @WITH_PERL_EXTENSIONS_TRUE@NODEUPDOWNPMFILES_DATA = $(NODEUPDOWNPMFILES)
 @WITH_PERL_EXTENSIONS_TRUE@man3_MANS = Nodeupdown.$(PERLMAN3EXT)
 EXTRA_DIST = Nodeupdown.pm
@@ -472,7 +472,7 @@ uninstall-man: uninstall-man3
 @WITH_PERL_EXTENSIONS_TRUE@	$(POD2MAN) Nodeupdown.pm Nodeupdown.$(PERLMAN3EXT)
 
 @WITH_PERL_EXTENSIONS_TRUE@install-data-hook:
-@WITH_PERL_EXTENSIONS_TRUE@	chmod 444 $(DESTDIR)/$(prefix)/$(INSTALLSITEARCH)/Nodeupdown.pm
+@WITH_PERL_EXTENSIONS_TRUE@	chmod 444 $(DESTDIR)/$(prefix)/$(INSTALLVENDORARCH)/Nodeupdown.pm
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: