summaryrefslogtreecommitdiff
path: root/graphics/dvdview
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-06-30 22:13:14 +0000
committertron <tron@pkgsrc.org>2001-06-30 22:13:14 +0000
commit3860b254e5589719c5a7a454cbb7559e560a0836 (patch)
treed6db9f4f6cf4c3120411e168bad082a069dbbb8b /graphics/dvdview
parentd099d217b78c659cdc7f7b645cf971e50247e0c6 (diff)
downloadpkgsrc-3860b254e5589719c5a7a454cbb7559e560a0836.tar.gz
Make this package build under Solaris.
Diffstat (limited to 'graphics/dvdview')
-rw-r--r--graphics/dvdview/Makefile7
-rw-r--r--graphics/dvdview/distinfo4
-rw-r--r--graphics/dvdview/patches/patch-ab12
3 files changed, 17 insertions, 6 deletions
diff --git a/graphics/dvdview/Makefile b/graphics/dvdview/Makefile
index addefc8df84..d04b5272fd1 100644
--- a/graphics/dvdview/Makefile
+++ b/graphics/dvdview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $
+# $NetBSD: Makefile,v 1.2 2001/06/30 22:13:14 tron Exp $
DISTNAME= dvdview1.1.0
PKGNAME= dvdview-1.1.0
@@ -27,6 +27,11 @@ do-build:
ALL_TARGET= # empty
WRKSRC?= ${WRKDIR}/dvdview
+.if (${OPSYS} == SunOS)
+MAKE_ENV+= RTLIB=-lrt
+.else
+MAKE_ENV+ RTLIB=
+.endif
.if (${OPSYS} != "Linux") && (${MACHINE_ARCH} == i386)
post-configure:
diff --git a/graphics/dvdview/distinfo b/graphics/dvdview/distinfo
index 6a40144eea0..81afb6202f8 100644
--- a/graphics/dvdview/distinfo
+++ b/graphics/dvdview/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2001/04/23 20:30:40 tron Exp $
+$NetBSD: distinfo,v 1.6 2001/06/30 22:13:14 tron Exp $
SHA1 (dvdview1.1.0.tar.gz) = d3f6837f17834c5849f93308b994e70e056b0ffe
Size (dvdview1.1.0.tar.gz) = 242440 bytes
SHA1 (patch-aa) = 89b3ac7a3f4f5f3ed6722d6253f341ce849e6d37
-SHA1 (patch-ab) = 696d9c5515ec395800ab146cf2b5f3539faaafba
+SHA1 (patch-ab) = 011846d72d7fb8f0f6be2d18dc1e2ff6015032fe
SHA1 (patch-ac) = f6d7c9b7d8fa9369a302987f600b91011113e2cf
diff --git a/graphics/dvdview/patches/patch-ab b/graphics/dvdview/patches/patch-ab
index 1e141c7f01d..60906fbb679 100644
--- a/graphics/dvdview/patches/patch-ab
+++ b/graphics/dvdview/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2001/04/23 20:30:41 tron Exp $
+$NetBSD: patch-ab,v 1.3 2001/06/30 22:13:15 tron Exp $
--- src/Makefile.in.orig Mon Sep 25 17:43:10 2000
-+++ src/Makefile.in Mon Apr 23 22:28:59 2001
-@@ -42,13 +42,13 @@
++++ src/Makefile.in Sun Jul 1 00:09:24 2001
+@@ -42,18 +42,18 @@
OBJS = $(COMMONOBJS) @OBJLIST@ # $(ARCHOBJS) $(MOCOBJS)
CC = @CC@
@@ -21,3 +21,9 @@ $NetBSD: patch-ab,v 1.2 2001/04/23 20:30:41 tron Exp $
CPPFLAGS = $(INCLUDES)
LNFLAGS = $(LNPATH) $(PROFILEFLAGS) $(DEBUGFLAGS)
DEFS = # -DNDEBUG
+
+-LIBS = -lXext -lX11 -lstdc++ -lm
++LIBS = -lXext -lX11 -lstdc++ -lm $(RTLIB)
+
+
+ %.d: %.cc