pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/dosbox



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Nov 29 13:07:13 UTC 2026

Modified Files:
        pkgsrc/emulators/dosbox: Makefile

Log Message:
dosbox: Avoid runtime text relocations on NetBSD/i386

PR pkg/61089 dosbox, dosbox-x fail to start on netbsd/i386


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/emulators/dosbox/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/dosbox/Makefile
diff -u pkgsrc/emulators/dosbox/Makefile:1.53 pkgsrc/emulators/dosbox/Makefile:1.54
--- pkgsrc/emulators/dosbox/Makefile:1.53       Wed Feb 12 06:44:42 2025
+++ pkgsrc/emulators/dosbox/Makefile    Sun Nov 29 13:07:12 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2025/02/12 06:44:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.54 2026/11/29 13:07:12 nia Exp $
 
 DISTNAME=      dosbox-0.74-3
 PKGNAME=       dosbox-0.74.3
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=dosbox/}
 
@@ -24,6 +24,14 @@ CPPFLAGS+=           -fPIC
 .endif
 LDFLAGS.SunOS+=                -lsocket
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+# avoid text relocations
+.if ${MACHINE_PLATFORM:MNetBSD-*-i386}
+CONFIGURE_ARGS+=       --disable-fpu-x86
+CONFIGURE_ARGS+=       --disable-dynamic-x86
+.endif
+
 SUBST_CLASSES+=                fixme
 SUBST_STAGE.fixme=     pre-configure
 SUBST_FILES.fixme=     docs/dosbox.1



Home | Main Index | Thread Index | Old Index