pkgsrc-WIP-changes archive

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

tclx: add 64 bit support



Module Name:	pkgsrc-wip
Committed By:	adr <adr%sdf.org@localhost>
Pushed By:	adr
Date:		Sun Nov 13 16:04:33 2022 +0000
Changeset:	afdf4bb420ab1615226f34a9779a73a15db764e9

Modified Files:
	tclx/Makefile

Log Message:
tclx: add 64 bit support

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=afdf4bb420ab1615226f34a9779a73a15db764e9

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

diffstat:
 tclx/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diffs:
diff --git a/tclx/Makefile b/tclx/Makefile
index b88758653c..afec61ebb5 100644
--- a/tclx/Makefile
+++ b/tclx/Makefile
@@ -13,5 +13,13 @@ LICENSE=	2-clause-bsd
 
 GNU_CONFIGURE=		yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "x86_64" || !empty$(MACHINE_ARCH:Maarch64)
+CONFIGURE_ARGS+= --enable-64bit
+.elif !empty$(MACHINE_ARCH:Mspark64)
+CONFIGURE_ARGS+= --enable-64bit-vis
+.endif
+
 .include "../../lang/tcl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index