pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libebml Added support for installation to DESTDI...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d37cfd54daa
branches: trunk
changeset: 530571:4d37cfd54daa
user: heinz <heinz%pkgsrc.org@localhost>
date: Sun Jul 01 20:20:45 2007 +0000
description:
Added support for installation to DESTDIR. Approved by salo@.
diffstat:
devel/libebml/Makefile | 3 ++-
devel/libebml/distinfo | 4 ++--
devel/libebml/patches/patch-aa | 41 +++++++++++++++++++++++++++++++++++++----
3 files changed, 41 insertions(+), 7 deletions(-)
diffs (82 lines):
diff -r 47fa8f91f67b -r 4d37cfd54daa devel/libebml/Makefile
--- a/devel/libebml/Makefile Sun Jul 01 20:20:24 2007 +0000
+++ b/devel/libebml/Makefile Sun Jul 01 20:20:45 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/10/08 03:11:05 salo Exp $
+# $NetBSD: Makefile,v 1.26 2007/07/01 20:20:45 heinz Exp $
#
DISTNAME= libebml-0.7.7
@@ -10,6 +10,7 @@
HOMEPAGE= http://sourceforge.net/projects/ebml/
COMMENT= Extensible Binary Meta Language support library
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
diff -r 47fa8f91f67b -r 4d37cfd54daa devel/libebml/distinfo
--- a/devel/libebml/distinfo Sun Jul 01 20:20:24 2007 +0000
+++ b/devel/libebml/distinfo Sun Jul 01 20:20:45 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2006/10/08 03:11:05 salo Exp $
+$NetBSD: distinfo,v 1.14 2007/07/01 20:20:45 heinz Exp $
SHA1 (libebml-0.7.7.tar.bz2) = e79f98968c8566c95637616c4419697e0adbecca
RMD160 (libebml-0.7.7.tar.bz2) = d42ec6606a16cc9b38cff501e14929853136fa0b
Size (libebml-0.7.7.tar.bz2) = 56527 bytes
-SHA1 (patch-aa) = 839ddb941d985f5d8696e878736f8c3d5def13ef
+SHA1 (patch-aa) = fb3f3869817ba1a0de98caf35abe22f7ff1b4716
diff -r 47fa8f91f67b -r 4d37cfd54daa devel/libebml/patches/patch-aa
--- a/devel/libebml/patches/patch-aa Sun Jul 01 20:20:24 2007 +0000
+++ b/devel/libebml/patches/patch-aa Sun Jul 01 20:20:45 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2005/06/06 21:11:36 salo Exp $
+$NetBSD: patch-aa,v 1.8 2007/07/01 20:20:45 heinz Exp $
---- make/linux/Makefile.orig 2005-04-19 08:56:06.000000000 +0200
-+++ make/linux/Makefile 2005-06-06 23:07:55.000000000 +0200
-@@ -16,15 +16,15 @@
+--- make/linux/Makefile.orig 2006-03-30 21:05:11.000000000 +0200
++++ make/linux/Makefile
+@@ -16,15 +16,15 @@ prefix=/boot/home/config
else
prefix=/usr/local
endif
@@ -24,3 +24,36 @@
INSTALL_OPTS = -m 644
INSTALL_OPTS_LIB = -m 644
INSTALL_DIR_OPTS = -m 755
+@@ -125,23 +125,23 @@ install: install_staticlib install_share
+ endif
+
+ install_headers:
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
+ for i in $(INCLUDE_DIR)/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
+ done
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
+ for i in $(INCLUDE_DIR)/c/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
+ done
+
+ install_staticlib: $(LIBRARY)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
+
+ install_sharedlib: $(LIBRARY_SO)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
+- ln -s $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
++ ln -s $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
+
+
+ ifneq ($(wildcard .depend),)
Home |
Main Index |
Thread Index |
Old Index