summaryrefslogtreecommitdiff
path: root/emulators/tme
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-04-28 12:16:57 +0000
committerjoerg <joerg@pkgsrc.org>2014-04-28 12:16:57 +0000
commiteb54873033088565f393ff8e7f487df3f3115b99 (patch)
tree229db6f687995761431e785642eee5b5fe40e3b9 /emulators/tme
parent6190d719d3b1b09d0c361bca559989a53bf6f031 (diff)
downloadpkgsrc-eb54873033088565f393ff8e7f487df3f3115b99.tar.gz
Fix build on Linux.
Diffstat (limited to 'emulators/tme')
-rw-r--r--emulators/tme/Makefile7
-rw-r--r--emulators/tme/PLIST4
2 files changed, 8 insertions, 3 deletions
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index b45eb824bbb..bedc2860700 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2014/04/16 21:03:05 joerg Exp $
+# $NetBSD: Makefile,v 1.50 2014/04/28 12:16:57 joerg Exp $
#
DISTNAME= tme-0.8
@@ -34,6 +34,11 @@ _WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-variable \
-fno-strict-aliasing
.endif
+PLIST_VARS+= bsd
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly
+PLIST.bsd= yes
+.endif
.include "../../devel/libltdl/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/emulators/tme/PLIST b/emulators/tme/PLIST
index 8bf6c6af4c1..37583b89135 100644
--- a/emulators/tme/PLIST
+++ b/emulators/tme/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2010/07/05 10:20:38 obache Exp $
+@comment $NetBSD: PLIST,v 1.8 2014/04/28 12:16:57 joerg Exp $
bin/tme-sun-eeprom
bin/tme-sun-idprom
bin/tmesh
@@ -62,7 +62,7 @@ lib/tme/tme-plugins.txt
lib/tme/tme_bus_multibus.la
lib/tme/tme_bus_sbus.la
lib/tme/tme_generic.la
-lib/tme/tme_host_bsd.la
+${PLIST.bsd}lib/tme/tme_host_bsd.la
lib/tme/tme_host_posix.la
lib/tme/tme_host_gtk.la
lib/tme/tme_ic_ad184x.la