Date: Mon, 13 Jan 2014 03:20:04 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185712: net/osrtspproxy: Support CC/CXX properly Message-ID: <20140113032004.4436979e666bc9aba72a107b@yahoo.com> Resent-Message-ID: <201401121840.s0CIe8AY049507@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185712 >Category: ports >Synopsis: net/osrtspproxy: Support CC/CXX properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 12 18:40:08 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Support CC/CXX properly - Support PLIST_FILES Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/net/osrtspproxy/Makefile net/osrtspproxy/Makefile --- /usr/ports/net/osrtspproxy/Makefile 2013-11-06 21:53:58.000000000 +0900 +++ net/osrtspproxy/Makefile 2014-01-13 00:00:00.000000000 +0900 @@ -11,11 +11,22 @@ MAINTAINER= ports@FreeBSD.org COMMENT= The RTSP Proxy Kit - A reference implementation of an RTSP proxy -HAS_CONFIGURE= YES +HAS_CONFIGURE= yes + +PLIST_FILES= sbin/rtspproxy etc/rc.d/rtspproxy.sh.sample + +post-patch: + @${REINPLACE_CMD} -e \ + '/CC=/s|^|#| ; \ + /CXX=/s|^|#| ; \ + /LD=/s|^|#| ; \ + s|-I/usr/local/include|| ; \ + s|-L/usr/local/lib||' ${WRKSRC}/configure -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rtspproxy/rtspproxy ${PREFIX}/sbin - ${INSTALL_SCRIPT} ${FILESDIR}/rtspproxy.sh ${PREFIX}/etc/rc.d/rtspproxy.sh.sample + (cd ${WRKSRC}/rtspproxy && ${INSTALL_PROGRAM} rtspproxy \ + ${STAGEDIR}${PREFIX}/sbin) + (cd ${FILESDIR} && ${INSTALL_SCRIPT} rtspproxy.sh \ + ${STAGEDIR}${PREFIX}/etc/rc.d/rtspproxy.sh.sample) .include <bsd.port.mk> diff -urN /usr/ports/net/osrtspproxy/pkg-plist net/osrtspproxy/pkg-plist --- /usr/ports/net/osrtspproxy/pkg-plist 2013-11-06 21:53:58.000000000 +0900 +++ net/osrtspproxy/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,2 +0,0 @@ -sbin/rtspproxy -etc/rc.d/rtspproxy.sh.sample >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140113032004.4436979e666bc9aba72a107b>