1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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]
This commit is contained in:
Gerald Pfeifer 2008-06-15 10:59:43 +00:00
parent 392cae5b0d
commit 03aa7a90a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214890
4 changed files with 28 additions and 10 deletions

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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