head 1.6; access; symbols pkgsrc-2026Q1:1.5.0.2 pkgsrc-2026Q1-base:1.5; locks; strict; comment @# @; 1.6 date 2026.05.14.16.40.53; author ryoon; state Exp; branches; next 1.5; commitid tKipFjQKzke3NNFG; 1.5 date 2026.02.06.10.04.42; author wiz; state Exp; branches; next 1.4; commitid MwQEYCXeWSFvIitG; 1.4 date 2026.01.07.08.46.54; author wiz; state Exp; branches; next 1.3; commitid 1wQ3ICD8eebefrpG; 1.3 date 2026.01.04.01.41.25; author nia; state Exp; branches; next 1.2; commitid SexgpxagRPiXZ0pG; 1.2 date 2025.12.21.10.10.40; author nia; state Exp; branches; next 1.1; commitid thENlMXp7gdEggnG; 1.1 date 2025.12.21.10.01.55; author nia; state Exp; branches; next ; commitid hlR5SaK78JmAdgnG; desc @@ 1.6 log @*: Recursive revbump from security/nettle-4.0 @ text @# $NetBSD: Makefile,v 1.5 2026/02/06 10:04:42 wiz Exp $ DISTNAME= wine-5.0.5 PKGREVISION= 4 CATEGORIES= emulators MASTER_SITES= https://dl.winehq.org/wine/source/${PKGVERSION_NOREV:R}/ MASTER_SITES+= http://mirrors.ibiblio.org/wine/source/${PKGVERSION_NOREV:R}/ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.winehq.org/ COMMENT= Compatibility layer for running Microsoft Windows applications LICENSE= gnu-lgpl-v2.1 USE_LANGUAGES= c c++ USE_TOOLS+= bison flex gmake mktemp msgfmt perl pkg-config GNU_CONFIGURE= yes REPLACE_PERL+= tools/winemaker/winemaker REPLACE_PERL+= tools/winedump/function_grep.pl MKPIE_SUPPORTED= no CHECK_PIE_SUPPORTED= no ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64 UNLIMIT_RESOURCES= datasize CONFIGURE_ARGS+= --disable-tests CONFIGURE_ARGS+= --without-capi CONFIGURE_ARGS+= --without-gphoto CONFIGURE_ARGS+= --without-gssapi CONFIGURE_ARGS+= --without-hal # LDAP causes build failures on NetBSD 9.99.x and newer. CONFIGURE_ARGS+= --without-ldap CONFIGURE_ARGS+= --without-krb5 CONFIGURE_ARGS+= --without-opencl CONFIGURE_ARGS+= --without-udev CONFIGURE_ARGS+= --without-v4l2 CONFIGURE_ARGS+= --without-vkd3d CONFIGURE_ARGS+= --without-vulkan .include "../../mk/bsd.prefs.mk" PLIST_VARS+= desktop lp32 lp64 oss .if ${MACHINE_ARCH} == "x86_64" PLIST.lp64= yes CONFIGURE_ARGS+= --enable-win64 NOT_PAX_MPROTECT_SAFE+= bin/wine64 .else PLIST.lp32= yes NOT_PAX_MPROTECT_SAFE+= bin/wine .endif .if ${OPSYS} == "NetBSD" . if ${OPSYS_VERSION} < 090000 # Disable new_dtags as NetBSD versions prior to 9.0 don't honor DT_RUNPATH CONFIGURE_ENV+= ac_cv_cflags__Wl___enable_new_dtags=no . endif # gethostbyname_r is in libc, but has a different calling convention CONFIGURE_ENV+= wine_cv_linux_gethostbyname_r_6=no .endif .include "../../mk/compiler.mk" .if ${CC_VERSION:Mgcc-1*} || ${CC_VERSION:Mclang-*} CFLAGS+= -Wno-incompatible-pointer-types CFLAGS+= -Wno-implicit-function-declaration CXXFLAGS+= -Wno-incompatible-pointer-types CXXFLAGS+= -Wno-implicit-function-declaration .endif .include "../../mk/oss.buildlink3.mk" .if ${OSS_TYPE} != "none" PLIST.oss= yes LDFLAGS+= ${LIBOSSAUDIO} SUBST_CLASSES+= oss SUBST_STAGE.oss= pre-configure SUBST_MESSAGE.oss= Correcting the path to the OSS device. SUBST_FILES.oss+= dlls/wineoss.drv/mmdevdrv.c SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g" .else CONFIGURE_ARGS+= --without-oss .endif # Fix warning due to _FORTIFY_SOURCE being redefined CONFIGURE_ENV+= ac_cv_c_fortify_enabled=no # Wine will use system frameworks on Darwin. .if ${OPSYS} != "Darwin" PLIST.desktop= yes .include "../../graphics/MesaLib/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .endif .include "options.mk" .include "../../audio/faudio/buildlink3.mk" .include "../../audio/gsm/buildlink3.mk" .include "../../audio/mpg123/buildlink3.mk" .include "../../audio/openal-soft/buildlink3.mk" .include "../../devel/SDL2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/giflib/buildlink3.mk" .include "../../graphics/lcms2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../multimedia/gstreamer1/buildlink3.mk" .include "../../multimedia/gst-plugins1-base/buildlink3.mk" .include "../../security/gnutls/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxslt/buildlink3.mk" .include "../../mk/curses.buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.5 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2026/01/07 08:46:54 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.4 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2026/01/04 01:41:25 nia Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.3 log @wine5: Fix building on i386 with mprotect enabled. While here, fix GCC 14 build. Reported by 533k3R on unitedbsd. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.258 2024/05/29 16:32:28 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.2 log @oops @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/12/21 10:01:55 nia Exp $ d4 1 d22 1 d65 9 @ 1.1 log @Re-import wine5 for 32-bit applications. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.258 2024/05/29 16:32:28 adam Exp $ d92 1 a92 1 .include "../../audio/openal-soft-c/buildlink3.mk" @