aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2008-06-15 18:59:43 +0800
committergerald <gerald@FreeBSD.org>2008-06-15 18:59:43 +0800
commit0ad09d4ddf78eab9ff61ef87c66956f340507c2e (patch)
treee123907ac2a9cce3cbdde288fb7e6512ebc2c9dc /emulators/wine
parentdf1c023ff67dd6d4da1d38b0d09e106f4b416c06 (diff)
downloadfreebsd-ports-gnome-0ad09d4ddf78eab9ff61ef87c66956f340507c2e.tar.gz
freebsd-ports-gnome-0ad09d4ddf78eab9ff61ef87c66956f340507c2e.tar.zst
freebsd-ports-gnome-0ad09d4ddf78eab9ff61ef87c66956f340507c2e.zip
Update to version 1.0-rc5 which brings a number of bug fixes.
Hack the configure script to succeed when building with HAL support on FreeBSD 6.x. [1] Add an OPTION called HAL to enable/disable building with HAL support and explicitly force one of these as opposed to just depending on the environment. Submitted by: Tijl Coosemans <tijl@ulyssis.org> [1]
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile13
-rw-r--r--emulators/wine/distinfo6
2 files changed, 14 insertions, 5 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index d00a9e75a616..93b91117d5ef 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-DISTVERSION= 1.0-rc4
+DISTVERSION= 1.0-rc5
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SFE \
@@ -41,7 +41,8 @@ USE_XORG= xpm
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On
+OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \
+ HAL "Use HAL (Hardware Abstraction Layer)" Off
.include <bsd.port.pre.mk>
@@ -52,6 +53,13 @@ CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.endif
+.ifdef WITH_HAL
+CONFIGURE_ARGS+= --with-hal
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+.else
+CONFIGURE_ARGS+= --without-hal
+.endif
+
.if ${OSVERSION} < 602000
IGNORE= fails to properly work on versions of FreeBSD before 6.2 (due to problems with threading support)
.endif
@@ -59,6 +67,7 @@ IGNORE= fails to properly work on versions of FreeBSD before 6.2 (due to proble
post-patch:
.if ${OSVERSION} < 700041
${REINPLACE_CMD} 's/-lpthread/-lthr/g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} '/ac_hal_libs=/s/"$$/ -lthr"/' ${WRKSRC}/configure
.endif
pre-build:
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo
index f649f3199151..7038888006fb 100644
--- a/emulators/wine/distinfo
+++ b/emulators/wine/distinfo
@@ -1,3 +1,3 @@
-MD5 (wine-1.0-rc4.tar.bz2) = 1ce2f46b03e1484a8d0845ea5519002b
-SHA256 (wine-1.0-rc4.tar.bz2) = 72afc4184606aa8cccdb356a3923414e3f8c626d1c037cae1792d0a146600c47
-SIZE (wine-1.0-rc4.tar.bz2) = 13983809
+MD5 (wine-1.0-rc5.tar.bz2) = dccd63acbb2626479bea9972abb3642f
+SHA256 (wine-1.0-rc5.tar.bz2) = f4d33db7a98d096e449a4c35a690dc0df59d0fd43ae9340525c72b266b2bc3f9
+SIZE (wine-1.0-rc5.tar.bz2) = 13971266