summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-12-21 19:55:01 +0000
committerjoerg <joerg@pkgsrc.org>2009-12-21 19:55:01 +0000
commita847501d668b99426a41459b53384c40f2aafddd (patch)
tree375258ce15697f75a0dcc5d2a4f3572812656817 /time
parent122f69d742bd8f964ee47884c9017913ae6a9c2a (diff)
downloadpkgsrc-a847501d668b99426a41459b53384c40f2aafddd.tar.gz
Fix build by using the right variable for libgnomeui.
Diffstat (limited to 'time')
-rw-r--r--time/gnotime/distinfo3
-rw-r--r--time/gnotime/patches/patch-aa58
2 files changed, 60 insertions, 1 deletions
diff --git a/time/gnotime/distinfo b/time/gnotime/distinfo
index 1186fc11154..4dc4de1123a 100644
--- a/time/gnotime/distinfo
+++ b/time/gnotime/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2008/10/28 23:38:33 wiz Exp $
+$NetBSD: distinfo,v 1.10 2009/12/21 19:55:01 joerg Exp $
SHA1 (gnotime-2.3.0.tar.gz) = 1cd38b5a3d3548d19543f0aea421152367523a90
RMD160 (gnotime-2.3.0.tar.gz) = 361e45d82997cbac691751b830a2279e6ed74134
Size (gnotime-2.3.0.tar.gz) = 1987788 bytes
+SHA1 (patch-aa) = 48add73db83f4bee002c12833fd756b0eaef7eec
SHA1 (patch-ab) = c78194b5eb8caef9d118246c0da1c923a32a2e8c
diff --git a/time/gnotime/patches/patch-aa b/time/gnotime/patches/patch-aa
new file mode 100644
index 00000000000..e48bb256457
--- /dev/null
+++ b/time/gnotime/patches/patch-aa
@@ -0,0 +1,58 @@
+$NetBSD: patch-aa,v 1.5 2009/12/21 19:55:01 joerg Exp $
+
+Makefiles use LIBGNOMEUI_CFLAGS etc, so make sure that the values are
+added to the right variable.
+
+--- configure.orig 2009-12-21 19:47:53.000000000 +0000
++++ configure
+@@ -24931,8 +24931,8 @@ pkg_failed=no
+ echo $ECHO_N "checking for GNOMEUI... $ECHO_C" >&6; }
+
+ if test -n "$PKG_CONFIG"; then
+- if test -n "$GNOMEUI_CFLAGS"; then
+- pkg_cv_GNOMEUI_CFLAGS="$GNOMEUI_CFLAGS"
++ if test -n "$LIBGNOMEUI_CFLAGS"; then
++ pkg_cv_LIBGNOMEUI_CFLAGS="$LIBGNOMEUI_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED\"") >&5
+@@ -24940,7 +24940,7 @@ if test -n "$PKG_CONFIG"; then
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+- pkg_cv_GNOMEUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" 2>/dev/null`
++ pkg_cv_LIBGNOMEUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+@@ -24949,8 +24949,8 @@ else
+ pkg_failed=untried
+ fi
+ if test -n "$PKG_CONFIG"; then
+- if test -n "$GNOMEUI_LIBS"; then
+- pkg_cv_GNOMEUI_LIBS="$GNOMEUI_LIBS"
++ if test -n "$LIBGNOMEUI_LIBS"; then
++ pkg_cv_LIBGNOMEUI_LIBS="$LIBGNOMEUI_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED\"") >&5
+@@ -24958,7 +24958,7 @@ if test -n "$PKG_CONFIG"; then
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+- pkg_cv_GNOMEUI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" 2>/dev/null`
++ pkg_cv_LIBGNOMEUI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+@@ -25030,8 +25030,8 @@ To get pkg-config, see <http://pkg-confi
+ See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+ else
+- GNOMEUI_CFLAGS=$pkg_cv_GNOMEUI_CFLAGS
+- GNOMEUI_LIBS=$pkg_cv_GNOMEUI_LIBS
++ LIBGNOMEUI_CFLAGS=$pkg_cv_LIBGNOMEUI_CFLAGS
++ LIBGNOMEUI_LIBS=$pkg_cv_LIBGNOMEUI_LIBS
+ { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }
+ :