aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/plexmediaserver
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-01-27 03:27:57 +0800
committermarino <marino@FreeBSD.org>2014-01-27 03:27:57 +0800
commit80003e973c42094663eaf2a6ed71e4b743fd49c9 (patch)
treea6d2037d0961af83e6baf133d2798b4e6dec15fe /multimedia/plexmediaserver
parent7c822840d5a1f3a5bd8d0d96d3ccefa831245542 (diff)
downloadfreebsd-ports-gnome-80003e973c42094663eaf2a6ed71e4b743fd49c9.tar.gz
freebsd-ports-gnome-80003e973c42094663eaf2a6ed71e4b743fd49c9.tar.zst
freebsd-ports-gnome-80003e973c42094663eaf2a6ed71e4b743fd49c9.zip
multimedia/plexmedia: Use OPSYS with OSVERSION
OSVERSION is FreeBSD-specific. This port has broken multiple times on dports recently because of this, so nipping it in bud.
Diffstat (limited to 'multimedia/plexmediaserver')
-rw-r--r--multimedia/plexmediaserver/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile
index b2916497f68b..b78c83dacde1 100644
--- a/multimedia/plexmediaserver/Makefile
+++ b/multimedia/plexmediaserver/Makefile
@@ -29,6 +29,7 @@ ONLY_FOR_ARCHS= amd64
.include <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD
.if ${OSVERSION} < 900000
IGNORE= supplied binaries compiled for FreeBSD 9
.endif
@@ -37,6 +38,7 @@ IGNORE= supplied binaries compiled for FreeBSD 9
BROKEN= Waiting for Plex to include Python patch http://bugs.python.org/issue18178
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
.endif
+.endif
do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} Resources ${STAGEDIR}/${SCRIPT_PATH})