packages: libfetch/makefile-user-cflags.patch - libdir as variable, to allo...

sparky sparky at pld-linux.org
Sat Apr 17 14:54:26 CEST 2010


Author: sparky                       Date: Sat Apr 17 12:54:26 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- libdir as variable, to allow lib64

---- Files affected:
packages/libfetch:
   makefile-user-cflags.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/libfetch/makefile-user-cflags.patch
diff -u packages/libfetch/makefile-user-cflags.patch:1.1 packages/libfetch/makefile-user-cflags.patch:1.2
--- packages/libfetch/makefile-user-cflags.patch:1.1	Sat Apr 17 14:25:01 2010
+++ packages/libfetch/makefile-user-cflags.patch	Sat Apr 17 14:54:20 2010
@@ -12,3 +12,23 @@
  CFLAGS	+= -DFTP_COMBINE_CWDS -DNETBSD
  
  ifeq ($(strip $(FETCH_WITH_INET6)), true)
+@@ -75,15 +76,15 @@
+ .PHONY: clean
+ 
+ install: all
+-	$(Q) $(INSTALL) -m 755 libfetch.so $(DESTDIR)$(prefix)/lib/libfetch.so
+-	$(Q) $(INSTALL) -m 644 libfetch.a $(DESTDIR)$(prefix)/lib/libfetch.a
++	$(Q) $(INSTALL) -m 755 libfetch.so $(DESTDIR)$(libdir)/libfetch.so
++	$(Q) $(INSTALL) -m 644 libfetch.a $(DESTDIR)$(libdir)/libfetch.a
+ 	$(Q) $(INSTALL) -m 644 fetch.h $(DESTDIR)$(prefix)/include/fetch.h
+ 	$(Q) $(INSTALL) -m 644 fetch.3 $(DESTDIR)$(prefix)/share/man/man3/fetch.3
+ .PHONY: install
+ 
+ uninstall:
+-	$(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.so
+-	$(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.a
++	$(Q) rm -f $(DESTDIR)$(libdir)/libfetch.so
++	$(Q) rm -f $(DESTDIR)$(libdir)/libfetch.a
+ 	$(Q) rm -f $(DESTDIR)$(prefix)/include/fetch.h
+ 	$(Q) rm -f $(DESTDIR)$(prefix)/share/man/man3/fetch.3
+ .PHONY: uninstall
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libfetch/makefile-user-cflags.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list