From facce2669f8a854cae408d944e9a6de79b4f83c7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 20 Dec 2004 23:17:50 +0000 Subject: [PATCH] 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] --- emulators/wine-devel/Makefile | 4 ++++ emulators/wine-devel/pkg-plist | 2 ++ emulators/wine/Makefile | 4 ++++ emulators/wine/pkg-plist | 2 ++ 4 files changed, 12 insertions(+) diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index b734a40c684c..f368b099ff14 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -35,6 +35,10 @@ USE_GCC= 3.4 .include +.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 71901ea146c6..b44724dbe4a1 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 b734a40c684c..f368b099ff14 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -35,6 +35,10 @@ USE_GCC= 3.4 .include +.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 71901ea146c6..b44724dbe4a1 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