pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/intel2gas destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6da91f516cee
branches:  trunk
changeset: 567962:6da91f516cee
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Nov 29 23:34:31 2009 +0000

description:
destdir support.

diffstat:

 devel/intel2gas/Makefile         |   4 +++-
 devel/intel2gas/distinfo         |   4 ++--
 devel/intel2gas/patches/patch-aa |  16 +++++++++-------
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (67 lines):

diff -r 6092f2e9671b -r 6da91f516cee devel/intel2gas/Makefile
--- a/devel/intel2gas/Makefile  Sun Nov 29 23:29:29 2009 +0000
+++ b/devel/intel2gas/Makefile  Sun Nov 29 23:34:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/11/29 23:29:29 dholland Exp $
+# $NetBSD: Makefile,v 1.6 2009/11/29 23:34:31 dholland Exp $
 #
 
 DISTNAME=              intel2gas-1.3.3
@@ -10,6 +10,8 @@
 HOMEPAGE=              http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
 COMMENT=               Convert nasm source files to gas source files
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 
diff -r 6092f2e9671b -r 6da91f516cee devel/intel2gas/distinfo
--- a/devel/intel2gas/distinfo  Sun Nov 29 23:29:29 2009 +0000
+++ b/devel/intel2gas/distinfo  Sun Nov 29 23:34:31 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2009/11/29 23:29:29 dholland Exp $
+$NetBSD: distinfo,v 1.4 2009/11/29 23:34:31 dholland Exp $
 
 SHA1 (intel2gas-1.3.3.tar.gz) = 755e5a4739586944f974a1e39056cd20f150db65
 RMD160 (intel2gas-1.3.3.tar.gz) = 84b1bdf8c448967e72637bcf2082d57a2e433d5a
 Size (intel2gas-1.3.3.tar.gz) = 48460 bytes
-SHA1 (patch-aa) = 379ca4e385ce9b6e706fa5376a6a2e962146cbb0
+SHA1 (patch-aa) = adc98eba6f3366b6c828d1273c98e83649d7f9f3
 SHA1 (patch-ab) = e623d614b706d666250b774dae3632c44bd1f52d
diff -r 6092f2e9671b -r 6da91f516cee devel/intel2gas/patches/patch-aa
--- a/devel/intel2gas/patches/patch-aa  Sun Nov 29 23:29:29 2009 +0000
+++ b/devel/intel2gas/patches/patch-aa  Sun Nov 29 23:34:31 2009 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/10/20 19:22:54 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2009/11/29 23:34:31 dholland Exp $
+
+Config and installation for pkgsrc.
 
 --- Makefile.in.orig   2004-10-20 21:17:04.000000000 +0200
 +++ Makefile.in        2004-10-20 21:19:07.000000000 +0200
@@ -16,18 +18,18 @@
  
  install:
 -      install -m 755 -d $(data_prefix)
-+      $(BSD_INSTALL_DATA_DIR) $(data_prefix)
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(data_prefix)
        for datadir in $(DATADIRS); do \
 -        install -m 755 -d $(data_prefix)/$$datadir; \
 -        cp -a $$datadir/* $(data_prefix)/$$datadir; \
-+        $(BSD_INSTALL_DATA_DIR) $(data_prefix)/$$datadir; \
-+        $(BSD_INSTALL_DATA)  $$datadir/*.list $(data_prefix)/$$datadir; \
-+        $(BSD_INSTALL_DATA)  $$datadir/*.syntax $(data_prefix)/$$datadir; \
++        $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(data_prefix)/$$datadir; \
++        $(BSD_INSTALL_DATA)  $$datadir/*.list $(DESTDIR)$(data_prefix)/$$datadir; \
++        $(BSD_INSTALL_DATA)  $$datadir/*.syntax $(DESTDIR)$(data_prefix)/$$datadir; \
        done
 -      install -m 755 -d $(prefix)/bin
 -      install -s -m 755 intel2gas $(prefix)/bin
-+      $(BSD_INSTALL_DATA_DIR) $(prefix)/bin
-+      $(BSD_INSTALL_PROGRAM) intel2gas $(prefix)/bin
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/bin
++      $(BSD_INSTALL_PROGRAM) intel2gas $(DESTDIR)$(prefix)/bin
  
  uninstall:
        for datadir in $(DATADIRS); do \



Home | Main Index | Thread Index | Old Index