aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-23 04:13:51 +0800
committermarcus <marcus@FreeBSD.org>2003-12-23 04:13:51 +0800
commit5e5d855f47e598006aed935022e9015d74598409 (patch)
treec7a9af4867f9d4568d32d70f729769882bc52b4b /astro
parent369cd2a5049ea598ea9807f9b4a5e5388745992a (diff)
downloadfreebsd-ports-gnome-5e5d855f47e598006aed935022e9015d74598409.tar.gz
freebsd-ports-gnome-5e5d855f47e598006aed935022e9015d74598409.tar.zst
freebsd-ports-gnome-5e5d855f47e598006aed935022e9015d74598409.zip
Fix the DATADIR. This should fix the Help link with the new libgnome update.
Approved by: maintainer
Diffstat (limited to 'astro')
-rw-r--r--astro/glunarclock/Makefile1
-rw-r--r--astro/glunarclock/files/patch-configure21
2 files changed, 20 insertions, 2 deletions
diff --git a/astro/glunarclock/Makefile b/astro/glunarclock/Makefile
index 4e6b500dabe9..4617bb970b05 100644
--- a/astro/glunarclock/Makefile
+++ b/astro/glunarclock/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glunarclock
PORTVERSION= 0.30.3
+PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/astro/glunarclock/files/patch-configure b/astro/glunarclock/files/patch-configure
index 536a0e9d2d24..fade6423f26b 100644
--- a/astro/glunarclock/files/patch-configure
+++ b/astro/glunarclock/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.bak Tue Dec 9 23:31:40 2003
-+++ configure Tue Dec 9 23:31:58 2003
+--- configure.orig Tue Dec 2 15:31:05 2003
++++ configure Mon Dec 22 01:56:33 2003
@@ -18919,6 +18919,7 @@
# This can be used to rebuild libtool when needed
@@ -8,3 +8,20 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -22257,14 +22258,14 @@
+ ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+
+ cat >>confdefs.h <<_ACEOF
+-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
++#define GNOME_ICONDIR "${datadir}/pixmaps"
+ _ACEOF
+
+
+ #defined the below to enable help to work for applets
+
+ cat >>confdefs.h <<_ACEOF
+-#define DATADIR "${prefix}/share"
++#define DATADIR "${datadir}"
+ _ACEOF
+
+ cat >>confdefs.h <<_ACEOF