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