From 513bdb90b6759e4cd8d68a0f0ddce203d139c68e Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 24 Jan 2005 20:34:06 +0000 Subject: Fix build on Interix; turn off MIT-SHM there. (Ugly, but that's a fact of life for Interix X11....) --- graphics/mpeg2codec/distinfo | 4 ++-- graphics/mpeg2codec/patches/patch-aa | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'graphics') diff --git a/graphics/mpeg2codec/distinfo b/graphics/mpeg2codec/distinfo index a14c4f35a80..da25ad5b47b 100644 --- a/graphics/mpeg2codec/distinfo +++ b/graphics/mpeg2codec/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2002/09/22 01:32:58 jlam Exp $ +$NetBSD: distinfo,v 1.5 2005/01/24 20:34:06 tv Exp $ SHA1 (mpeg2vidcodec_v12.tar.gz) = 2ba56c46f3a70213e4f09417ad5340ef2b1e312e Size (mpeg2vidcodec_v12.tar.gz) = 259790 bytes -SHA1 (patch-aa) = 208e1aa22e94438a281fdca3ec711d93654b6e27 +SHA1 (patch-aa) = 0c1be867300e99fb62e90d782a29f71d07bded21 diff --git a/graphics/mpeg2codec/patches/patch-aa b/graphics/mpeg2codec/patches/patch-aa index e1d4085d905..ea81359bdb6 100644 --- a/graphics/mpeg2codec/patches/patch-aa +++ b/graphics/mpeg2codec/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.7 2002/09/22 01:32:58 jlam Exp $ +$NetBSD: patch-aa,v 1.8 2005/01/24 20:34:11 tv Exp $ ---- Makefile.orig Sat Jul 20 01:35:46 1996 +--- Makefile.orig 1996-07-19 19:35:46.000000000 -0400 +++ Makefile -@@ -30,31 +30,35 @@ +@@ -30,31 +30,37 @@ # uncomment the following two lines if you want to include X11 support # (mpeg2decode) @@ -10,6 +10,8 @@ $NetBSD: patch-aa,v 1.7 2002/09/22 01:32:58 jlam Exp $ -#LIBS = -lX11 +USE_DISP = -DDISPLAY +LIBS = -lX11 ++ ++OPSYS!= uname -s # uncomment the following two lines if you want to use shared memory # (faster display if server and client run on the same machine) @@ -17,10 +19,10 @@ $NetBSD: patch-aa,v 1.7 2002/09/22 01:32:58 jlam Exp $ -#USE_SHMEM = -DSH_MEM -#LIBS = -lXext -lX11 ++.if ${OPSYS} != "Interix" +USE_SHMEM = -DSH_MEM +LIBS = -lXext -lX11 -+ -+OPSYS!= uname -s ++.endif + +.if ${OPSYS} == "SunOS" +LIBS+= -lsocket -lnsl -- cgit v1.2.3