diff options
author | tv <tv@pkgsrc.org> | 2005-01-24 20:34:06 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-24 20:34:06 +0000 |
commit | 513bdb90b6759e4cd8d68a0f0ddce203d139c68e (patch) | |
tree | 79c9e5ede688a3c6fd28f72d0fd64b07f349352d /graphics | |
parent | 7daec44324495c6bc873449d37eb2c9e2aeaf015 (diff) | |
download | pkgsrc-513bdb90b6759e4cd8d68a0f0ddce203d139c68e.tar.gz |
Fix build on Interix; turn off MIT-SHM there. (Ugly, but that's a fact of
life for Interix X11....)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mpeg2codec/distinfo | 4 | ||||
-rw-r--r-- | graphics/mpeg2codec/patches/patch-aa | 12 |
2 files changed, 9 insertions, 7 deletions
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 |