aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-12-21 07:17:50 +0800
committergerald <gerald@FreeBSD.org>2004-12-21 07:17:50 +0800
commit2c0e0ad4b5503d5ad3e17a074016d884c8701107 (patch)
treef40ae9cea139468b8f922f9c0950c8324df1aa77 /emulators
parent684ed6a9bb951a20cb27ef6941f82dd9f7fa3a29 (diff)
downloadfreebsd-ports-graphics-2c0e0ad4b5503d5ad3e17a074016d884c8701107.tar.gz
freebsd-ports-graphics-2c0e0ad4b5503d5ad3e17a074016d884c8701107.tar.zst
freebsd-ports-graphics-2c0e0ad4b5503d5ad3e17a074016d884c8701107.zip
Mark broken on anything before FreeBSD 5.3, as Wine would build but not
properly run there (mostly due to threading issues). Remove the share/applications and share/wine directories via pkg-plist.[1] Pointed out by: pointyhat/kris[1]
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile4
-rw-r--r--emulators/wine-devel/pkg-plist2
-rw-r--r--emulators/wine/Makefile4
-rw-r--r--emulators/wine/pkg-plist2
4 files changed, 12 insertions, 0 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index b734a40c684..f368b099ff1 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -35,6 +35,10 @@ USE_GCC= 3.4
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 503000
+BROKEN= "Versions of FreeBSD before 5.3 lack sufficient threading support"
+.endif
+
.if defined(DEBUG)
STRIP=
.else
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 71901ea146c..b44724dbe4a 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -725,3 +725,5 @@ share/wine/wine.inf
@dirrm include/wine/msvcrt
@dirrm include/wine/windows
@dirrm include/wine
+@unexec rmdir %D/share/applications 2>/dev/null || true
+@dirrm share/wine
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index b734a40c684..f368b099ff1 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -35,6 +35,10 @@ USE_GCC= 3.4
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 503000
+BROKEN= "Versions of FreeBSD before 5.3 lack sufficient threading support"
+.endif
+
.if defined(DEBUG)
STRIP=
.else
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index 71901ea146c..b44724dbe4a 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -725,3 +725,5 @@ share/wine/wine.inf
@dirrm include/wine/msvcrt
@dirrm include/wine/windows
@dirrm include/wine
+@unexec rmdir %D/share/applications 2>/dev/null || true
+@dirrm share/wine