pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK32 x11/wxGTK32: fix Makefile error introduced...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31377d3965d6
branches:  trunk
changeset: 382456:31377d3965d6
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Fri Jul 29 01:24:24 2022 +0000

description:
x11/wxGTK32: fix Makefile error introduced in previous commit
thanks wiz@ for catching it

diffstat:

 x11/wxGTK32/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 24351665ffe1 -r 31377d3965d6 x11/wxGTK32/Makefile
--- a/x11/wxGTK32/Makefile      Thu Jul 28 22:18:16 2022 +0000
+++ b/x11/wxGTK32/Makefile      Fri Jul 29 01:24:24 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/07/28 07:34:33 dbj Exp $
+# $NetBSD: Makefile,v 1.5 2022/07/29 01:24:24 dbj Exp $
 
 DISTNAME=      wxWidgets-3.2.0
 PKGNAME=       ${DISTNAME:S/wxWidgets/wxGTK32/}
@@ -49,8 +49,10 @@
 
 CMAKE_ARGS+=           -DCMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
 CMAKE_ARGS+=           -DCMAKE_INSTALL_BINDIR:PATH=libexec/wx-3.2
+. if ${OPSYS} != "Linux"
 # https://github.com/wxWidgets/wxWidgets/issues/22646
-CMAKE_ARGS.Linux+=     -DwxUSE_JOYSTICK:BOOL=OFF
+CMAKE_ARGS+=           -DwxUSE_JOYSTICK:BOOL=OFF
+. endif
 
 SUBST_CLASSES+=                unwrap
 SUBST_STAGE.unwrap=    post-build



Home | Main Index | Thread Index | Old Index