summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2016-08-27 20:56:29 +0000
committerjoerg <joerg>2016-08-27 20:56:29 +0000
commit4091790b2bed6f88b2112e256e1f7ec578dde026 (patch)
treee7f100246fa195fda8bc8662a64a8640bcd99dca /emulators
parentcaeed92c5ebf67999adf87fbba6a1d07d6d74be2 (diff)
downloadpkgsrc-4091790b2bed6f88b2112e256e1f7ec578dde026.tar.gz
Fix host name resolution on NetBSD. Bump revision.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile9
-rw-r--r--emulators/wine/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index fd68d6cdede..616117a9f2c 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2016/03/05 11:28:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.57 2016/08/27 20:56:29 joerg Exp $
DISTNAME= wine-1.7.36
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
${MASTER_SITE_SOURCEFORGE:=wine/}
@@ -57,6 +57,11 @@ CONFIGURE_ARGS+= --enable-win64
PLIST.wine64= yes
.endif
+.if ${OPSYS} == "NetBSD"
+# gethostbyname_r is in libc, but has a different calling convention
+CONFIGURE_ARGS+= wine_cv_linux_gethostbyname_r_6=no
+.endif
+
.if ${OPSYS} != "Darwin"
PLIST.oss= yes
.include "../../fonts/fontconfig/buildlink3.mk"
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index f3337beb2e1..223884991a4 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.192 2016/06/09 15:26:35 fhajny Exp $
+# $NetBSD: Makefile,v 1.193 2016/08/27 20:56:29 joerg Exp $
DISTNAME= wine-1.6.2
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
${MASTER_SITE_SOURCEFORGE:=wine/}
@@ -52,6 +52,11 @@ CONFIGURE_ARGS+= --disable-win16
CONFIGURE_ARGS+= --enable-win64
.endif
+.if ${OPSYS} == "NetBSD"
+# gethostbyname_r is in libc, but has a different calling convention
+CONFIGURE_ARGS+= wine_cv_linux_gethostbyname_r_6=no
+.endif
+
.include "options.mk"
.include "../../devel/ncurses/buildlink3.mk"