Subject: pkg/13934: make pkgsrc/net/ra-rtsp-proxy work on Solaris/Zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
List: netbsd-bugs
Date: 09/12/2001 17:59:28
>Number:         13934
>Category:       pkg
>Synopsis:       pkgsrc/net/ra-rtsp-proxy/Makefile tuning for Solaris/Zoularis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 12 09:00:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stoned Elipot
>Release:        pkgsrc-current
>Organization:
SCRIPT, Paris VII University, France
>Environment:
System: SunOS pok-a-tok 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-60

>Description:
This pkg needs a little bit of trivial tuning to compile on Solaris/Zoularis.
>How-To-Repeat:
Try to build it on Solaris/Zoularis
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/ra-rtsp-proxy/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2001/05/10 05:35:01	1.13
+++ Makefile	2001/09/12 15:55:52
@@ -22,6 +22,12 @@
 
 WRKSRC=		${WRKDIR}/rtspd-1.0.0.0a
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+=	LOCAL_LIBS="-lsocket -lnsl"
+.endif
+
 do-fetch:
 	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
 	    ${ECHO_MSG} "==============================================================="; \
>Release-Note:
>Audit-Trail:
>Unformatted: