summaryrefslogtreecommitdiff
path: root/package/totd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-01 19:51:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-01 19:51:32 +0100
commitb56c73c95f08099803c60d9e2f2584f231220d47 (patch)
tree704b5c66e0d233af904afdfa00e1dd9c2205d02d /package/totd
parent09381f08db60bd52ab7135bd084fa2bb197a98c2 (diff)
misc patches needed for allmodconfig for ibm-x40-eglibc on Darwin OS
* fix *.pc / *-config file handling.
Diffstat (limited to 'package/totd')
-rw-r--r--package/totd/Makefile4
-rw-r--r--package/totd/patches/patch-configure11
2 files changed, 13 insertions, 2 deletions
diff --git a/package/totd/Makefile b/package/totd/Makefile
index 938439e9b..207b2d2cc 100644
--- a/package/totd/Makefile
+++ b/package/totd/Makefile
@@ -18,7 +18,7 @@ $(eval $(call PKG_template,TOTD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_
post-install:
$(INSTALL_DIR) $(IDIR_TOTD)/{usr/sbin,etc}
- ${INSTALL_DATA} ./files/totd.conf ${IDIR_TOTD}/etc/
- $(INSTALL_BIN) $(WRKINST)/usr/sbin/totd $(IDIR_TOTD)/usr/sbin/
+ ${INSTALL_DATA} ./files/totd.conf ${IDIR_TOTD}/etc
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/totd $(IDIR_TOTD)/usr/sbin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/totd/patches/patch-configure b/package/totd/patches/patch-configure
new file mode 100644
index 000000000..3e0a7a585
--- /dev/null
+++ b/package/totd/patches/patch-configure
@@ -0,0 +1,11 @@
+--- totd-1.5.1.orig/configure 2005-02-02 12:01:02.000000000 +0100
++++ totd-1.5.1/configure 2011-03-01 17:57:18.000000000 +0100
+@@ -2514,7 +2514,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ echo "$as_me:$LINENO: checking operating system specific definitions..." >&5
+ echo $ECHO_N "checking operating system specific definitions...... $ECHO_C" >&6
+-case `uname -s` in
++case Linux in
+ NetBSD)
+ ostype=NetBSD
+ OPTFLAGS="$OPTFLAGS"