summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-06-20 06:02:30 +0000
committerhira <hira@pkgsrc.org>2005-06-20 06:02:30 +0000
commitd2612db5533f0150c32bd94095c24e8f8624ba29 (patch)
tree1a064965eb52dde0a0c859d28fe7d9ce80603fa1
parentb50e10fd75be14abec9034f070196e781efad9a8 (diff)
downloadpkgsrc-d2612db5533f0150c32bd94095c24e8f8624ba29.tar.gz
Don't install celestia.schemas. This fixes PR pkg/30066.
-rw-r--r--misc/celestia/Makefile.common5
-rw-r--r--misc/celestia/distinfo5
-rw-r--r--misc/celestia/patches/patch-ah19
3 files changed, 25 insertions, 4 deletions
diff --git a/misc/celestia/Makefile.common b/misc/celestia/Makefile.common
index 64e383b97a1..f005ace56d8 100644
--- a/misc/celestia/Makefile.common
+++ b/misc/celestia/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2005/06/01 18:03:05 jlam Exp $
+# $NetBSD: Makefile.common,v 1.19 2005/06/20 06:02:30 hira Exp $
DISTNAME= celestia-${CELESTIA_VERS}
CATEGORIES= misc x11
@@ -17,6 +17,9 @@ USE_LANGUAGES= c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-lua --with-glut
+.if defined(CELESTIA_PROGPREFIX)
+CONFIGURE_ARGS+= --program-prefix=${CELESTIA_PROGPREFIX}
+.endif
GCC_REQD= 3.0
diff --git a/misc/celestia/distinfo b/misc/celestia/distinfo
index 56e753d3d76..7c8629cc472 100644
--- a/misc/celestia/distinfo
+++ b/misc/celestia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 11:02:50 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/06/20 06:02:30 hira Exp $
SHA1 (celestia-1.3.2.tar.gz) = 3407610f3844cd8aaf4f079e1ec5b0c236d3d547
RMD160 (celestia-1.3.2.tar.gz) = 4f891866be70a2d918bdb75ad4fd7d4dddcef4ce
@@ -10,5 +10,4 @@ SHA1 (patch-ad) = a0567e08ab982bff12bda44233938e6f98904025
SHA1 (patch-ae) = 09923dc44ed2c16193f634360f49c9fd12bab353
SHA1 (patch-af) = df2dae0d054a475ee98286281780037f088f07bc
SHA1 (patch-ag) = 16a8ae890c82bf1fa4f89953a5ebfc1c07ec1491
-SHA1 (patch-ah) = d7476c54346a30b0c00dbcec8fe4cdbce0e44c4f
-SHA1 (patch-ai) = 78a39852216eedb527ca4e48036527bc7b7fbfad
+SHA1 (patch-ah) = d48d210f7ddc35c85e86600f3c3cac2f425f372a
diff --git a/misc/celestia/patches/patch-ah b/misc/celestia/patches/patch-ah
new file mode 100644
index 00000000000..fb348347626
--- /dev/null
+++ b/misc/celestia/patches/patch-ah
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2005/06/20 06:02:30 hira Exp $
+
+--- src/celestia/gtk/data/Makefile.in.orig 2004-08-23 16:22:09.000000000 +0900
++++ src/celestia/gtk/data/Makefile.in 2005-06-20 01:12:04.000000000 +0900
+@@ -253,11 +253,11 @@
+ qt_libraries = @qt_libraries@
+ x_includes = @x_includes@
+ x_libraries = @x_libraries@
+-schemasdir = $(GCONF_SCHEMA_FILE_DIR)
+-schemas_DATA = celestia.schemas
++@ENABLE_GTK_TRUE@schemasdir = $(GCONF_SCHEMA_FILE_DIR)
++@ENABLE_GTK_TRUE@schemas_DATA = celestia.schemas
+
+ EXTRA_DIST = $(schemas_DATA) celestia.png celestia.desktop
+-pkgdata_DATA = celestia.png
++@ENABLE_GTK_FALSE@pkgdata_DATA = celestia.png
+
+ @ENABLE_GTK_TRUE@Applicationsdir = $(datadir)/applications
+ @ENABLE_GTK_TRUE@Applications_DATA = celestia.desktop