pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/wine-devel Remove comments, put netbsd speci...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0f3f3841bfe
branches:  trunk
changeset: 358164:c0f3f3841bfe
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Feb 06 13:34:21 2017 +0000

description:
Remove comments, put netbsd specific stuff next to other OS-specific stuff

diffstat:

 emulators/wine-devel/Makefile |  29 ++++++++---------------------
 1 files changed, 8 insertions(+), 21 deletions(-)

diffs (52 lines):

diff -r aa4614359cc9 -r c0f3f3841bfe emulators/wine-devel/Makefile
--- a/emulators/wine-devel/Makefile     Mon Feb 06 12:48:18 2017 +0000
+++ b/emulators/wine-devel/Makefile     Mon Feb 06 13:34:21 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2017/01/21 20:06:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.66 2017/02/06 13:34:21 maya Exp $
 
 DISTNAME=      wine-1.9.18
 PKGREVISION=   5
@@ -40,35 +40,22 @@
 LIBS+=                 ${LDFLAGS}
 
 PLIST_VARS+=           oss wine16 wine32 wine64
-# If we're doing a 32-bit build, make sure that the appropriate multilib
-# options are passed through as these values are used with winegcc
-# (which wrapper doesn't handle).
-# XXX seems not needed anymore; to be removed on next update
 .include "../../mk/bsd.prefs.mk"
 .if !empty(MACHINE_ARCH:Mi386)
-#CONFIGURE_ENV+=               ac_cv_prog_CC=${CC:Q}\ -m32
-#CONFIGURE_ENV+=               ac_cv_prog_CXX=${CXX:Q}\ -m32
-#CONFIGURE_ENV+=               ac_cv_prog_AS=${AS:Q}\ --32
-#CONFIGURE_ENV+=               ac_cv_prog_LD=${LD:Q}\ -m\ elf_i386
-#PLIST.wine16=         yes
-PLIST_SRC=     PLIST.wine32
+PLIST_SRC=             PLIST.wine32
 NOT_PAX_MPROTECT_SAFE+=        bin/wine
-#PLIST.wine32=         yes
 .endif
-# Avoid using gethostbyname_r in netbsd, it's not
-# linux-like
-CONFIGURE_ARGS.NetBSD+=                wine_cv_linux_gethostbyname_r_6=no
-# NetBSD doesn't allow manipulation of _res by
-# multithreaded programs. avoid its use, networking
-# still works fine.
-CONFIGURE_ARGS.NetBSD+=                ac_cv_header_resolv_h=no
+
 .if !empty(MACHINE_ARCH:Mx86_64)
 CONFIGURE_ARGS+=       --enable-win64 --libdir=${PREFIX}/lib
 NOT_PAX_MPROTECT_SAFE+=        bin/wine64
-PLIST_SRC=     PLIST.wine64
-#PLIST.wine64=         yes
+PLIST_SRC=             PLIST.wine64
 .endif
 
+# NetBSD changes
+CONFIGURE_ARGS.NetBSD+=                wine_cv_linux_gethostbyname_r_6=no
+CONFIGURE_ARGS.NetBSD+=                ac_cv_header_resolv_h=no
+
 .if ${OPSYS} != "Darwin"
 PLIST.oss=             yes
 .include "../../fonts/fontconfig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index