Make this package build under Solaris.

This commit is contained in:
tron 2001-06-30 22:13:14 +00:00
parent d099d217b7
commit 3860b254e5
3 changed files with 17 additions and 6 deletions

View file

@ -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:

View file

@ -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

View file

@ -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