summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-06-16 11:49:57 +0000
committerdrochner <drochner@pkgsrc.org>2010-06-16 11:49:57 +0000
commite28b4ab4a37efb0cbb1a731e10efe4ed2681c01b (patch)
treed79ac80b494267f3d87f0a6c729fffc39b6fd951 /geography
parent5d30c3a381875af3dd255ddf46d95f472af3598c (diff)
downloadpkgsrc-e28b4ab4a37efb0cbb1a731e10efe4ed2681c01b.tar.gz
fix installation w/o DESTDIR
Diffstat (limited to 'geography')
-rw-r--r--geography/gpsd/distinfo3
-rw-r--r--geography/gpsd/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/geography/gpsd/distinfo b/geography/gpsd/distinfo
index 9625a20a678..16397f2f934 100644
--- a/geography/gpsd/distinfo
+++ b/geography/gpsd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2010/05/25 00:50:15 gdt Exp $
+$NetBSD: distinfo,v 1.17 2010/06/16 11:49:57 drochner Exp $
SHA1 (gpsd-2.94.tar.gz) = d1c0661ebd6b41d019249b6588b7478927b7eba6
RMD160 (gpsd-2.94.tar.gz) = 7c3a2d36eefb1ee533c138d6b77da8e1ece8fd2f
Size (gpsd-2.94.tar.gz) = 1209893 bytes
SHA1 (patch-aa) = b77bd7491ee890fc66f807cbfe4c6d62423d67d5
+SHA1 (patch-ab) = 6ab04c702cb9a28f4ec71edf5ff10061aff91a86
diff --git a/geography/gpsd/patches/patch-ab b/geography/gpsd/patches/patch-ab
new file mode 100644
index 00000000000..5761e5921bf
--- /dev/null
+++ b/geography/gpsd/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.5 2010/06/16 11:49:57 drochner Exp $
+
+--- Makefile.in.orig 2010-06-16 11:40:45.000000000 +0000
++++ Makefile.in
+@@ -1996,7 +1996,11 @@ gpsd_maskdump.c: gpsd.h-tail maskaudit.p
+
+ # Install Python modules
+ @HAVE_PYTHON_TRUE@install-exec-local:
+-@HAVE_PYTHON_TRUE@ $(PYTHON) setup.py install --prefix=${prefix} --root=$(DESTDIR)
++@HAVE_PYTHON_TRUE@ if test -z "$(DESTDIR)"; then \
++@HAVE_PYTHON_TRUE@ $(PYTHON) setup.py install --prefix=${prefix}; \
++@HAVE_PYTHON_TRUE@ else \
++@HAVE_PYTHON_TRUE@ $(PYTHON) setup.py install --prefix=${prefix} --root=$(DESTDIR); \
++@HAVE_PYTHON_TRUE@ fi
+
+ @HAVE_XSLT_PROCESSOR_TRUE@.xml.1:
+ @HAVE_XSLT_PROCESSOR_TRUE@ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<