pkgsrc-WIP-changes archive

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

xygrib: install data into the right directory



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By:	nros
Date:		Tue Oct 29 10:43:02 2019 +0000
Changeset:	620e3ad1181936171afb7a704dae400503ee8776

Modified Files:
	xygrib/distinfo
	xygrib/patches/patch-CMakeLists.txt

Log Message:
xygrib: install data into the right directory

The data files in xygrib needs to be under openGrib/XyGrib because Qt adds
the organisation name to XDGDirs .

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=620e3ad1181936171afb7a704dae400503ee8776

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xygrib/distinfo                     | 2 +-
 xygrib/patches/patch-CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/xygrib/distinfo b/xygrib/distinfo
index 8329d8a513..a7da17d41d 100644
--- a/xygrib/distinfo
+++ b/xygrib/distinfo
@@ -4,4 +4,4 @@ SHA1 (XyGrib/XyGrib-1.2.6.1.tar.gz) = 8e3431ed6a5ef114d77ac57029129a26a381f696
 RMD160 (XyGrib/XyGrib-1.2.6.1.tar.gz) = 876e8a53b492b2e2ea0572e5b0cd31a2c04f505a
 SHA512 (XyGrib/XyGrib-1.2.6.1.tar.gz) = 33c8a0fc6791dbe3342524555dc90362560fed08b4e2a624111167d92e2c71890dcb5bfe7e85d7df2ffc11a382ea5afa484cdab84c29935d4be2e673c76a371c
 Size (XyGrib/XyGrib-1.2.6.1.tar.gz) = 14704088 bytes
-SHA1 (patch-CMakeLists.txt) = 9effed4867c7d2698460aeb820ed7ed14b2ab171
+SHA1 (patch-CMakeLists.txt) = 45164582f0fd449adc4c86c1fbb98d8104da530b
diff --git a/xygrib/patches/patch-CMakeLists.txt b/xygrib/patches/patch-CMakeLists.txt
index 34b37f7d99..d5c69e3196 100644
--- a/xygrib/patches/patch-CMakeLists.txt
+++ b/xygrib/patches/patch-CMakeLists.txt
@@ -90,7 +90,7 @@ $NetBSD$
 -set(PREFIX_PKGDATA ${PROJECT_NAME})
 +include(GNUInstallDirs)
 +set(PREFIX_BIN ${CMAKE_INSTALL_FULL_BINDIR})
-+set(PREFIX_PKGDATA ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${PROJECT_NAME})
++set(PREFIX_PKGDATA ${CMAKE_INSTALL_FULL_DATADIR}/openGribs/${PROJECT_NAME})
  endif()
  
  add_subdirectory(src)


Home | Main Index | Thread Index | Old Index