Fix build on SunOS. REPLACE_SH on installed shell scripts.

This commit is contained in:
hans 2012-02-15 20:04:30 +00:00
parent bbf621821c
commit 4129731ef6
3 changed files with 22 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.6 2011/04/17 08:51:22 obache Exp $
# $NetBSD: Makefile.common,v 1.7 2012/02/15 20:04:30 hans Exp $
# used by audio/aumix/Makefile
# used by audio/aumix-gtk/Makefile
@ -29,5 +29,9 @@ CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --without-gtk1
CONFIGURE_ARGS+= --without-gtk
LIBS.SunOS+= -lintl
REPLACE_SH+= src/mute src/xaumix
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.5 2005/02/23 20:39:43 agc Exp $
$NetBSD: distinfo,v 1.6 2012/02/15 20:04:30 hans Exp $
SHA1 (aumix-2.8.tar.bz2) = 5cea563ae91f628433a1950a36efd23681da4bf4
RMD160 (aumix-2.8.tar.bz2) = f7ab3737af772b97359dfc5d9852d06fda05aaa5
Size (aumix-2.8.tar.bz2) = 157503 bytes
SHA1 (patch-ad) = fc610f71143b892b68f798e3556bc756875dd26c
SHA1 (patch-src_common.h) = 55106984552fb769cca82d847095351e1d8cec4e

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_common.h,v 1.1 2012/02/15 20:04:30 hans Exp $
--- src/common.h.orig 2002-10-29 22:27:51.000000000 +0100
+++ src/common.h 2012-01-15 20:21:18.171640932 +0100
@@ -42,6 +42,10 @@
#include <fcntl.h>
#include <sys/ioctl.h>
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#else