svn commit: r375322 - head/net/liveMedia

Thomas Zander riggs at FreeBSD.org
Tue Dec 23 13:18:11 UTC 2014


Author: riggs
Date: Tue Dec 23 13:18:09 2014
New Revision: 375322
URL: https://svnweb.freebsd.org/changeset/ports/375322
QAT: https://qat.redports.org/buildarchive/r375322/

Log:
  - Ensure that PREFIX is respected
  - Pet portlint
  
  PR:		196162
  Submitted by:	mi at ALDAN.algebra.com

Modified:
  head/net/liveMedia/Makefile
  head/net/liveMedia/pkg-message

Modified: head/net/liveMedia/Makefile
==============================================================================
--- head/net/liveMedia/Makefile	Tue Dec 23 12:55:20 2014	(r375321)
+++ head/net/liveMedia/Makefile	Tue Dec 23 13:18:09 2014	(r375322)
@@ -3,6 +3,7 @@
 
 PORTNAME=	liveMedia
 PORTVERSION=	2014.12.17
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	net devel
 MASTER_SITES=	LOCAL/wg \
@@ -41,4 +42,10 @@ BROKEN=		Does not compile
 post-extract:
 	${CP} ${FILESDIR}/config.fixed-freebsd ${WRKSRC}
 
+.if "${PREFIX}" != "/usr/local"
+post-configure:
+	${REINPLACE_CMD} -e 's,^PREFIX = /usr/local,PREFIX = "${PREFIX}",' \
+		${WRKSRC}/Makefile ${WRKSRC}/*/Makefile
+.endif
+
 .include <bsd.port.post.mk>

Modified: head/net/liveMedia/pkg-message
==============================================================================
--- head/net/liveMedia/pkg-message	Tue Dec 23 12:55:20 2014	(r375321)
+++ head/net/liveMedia/pkg-message	Tue Dec 23 13:18:09 2014	(r375322)
@@ -1,5 +1,3 @@
-
 For more documentation on this software
 (and to get the latest version), please
 see <http://www.live555.com/liveMedia/>.
-


More information about the svn-ports-head mailing list