pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Mon Mar  4 15:38:33 UTC 2024

Modified Files:
        pkgsrc/lang/racket: Makefile
        pkgsrc/lang/racket-textual: Makefile

Log Message:
lang/racket, lang/racket-textual: Try to make this build on macOS.

Don't have macOS handy to test but it looks like this'll be required,
judging by the bulk logs.  Worst case, the build will fail in a
different way on macOS.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/lang/racket/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/racket-textual/Makefile

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

Modified files:

Index: pkgsrc/lang/racket/Makefile
diff -u pkgsrc/lang/racket/Makefile:1.103 pkgsrc/lang/racket/Makefile:1.104
--- pkgsrc/lang/racket/Makefile:1.103   Fri Jan  5 14:55:38 2024
+++ pkgsrc/lang/racket/Makefile Mon Mar  4 15:38:33 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2024/01/05 14:55:38 riastradh Exp $
+# $NetBSD: Makefile,v 1.104 2024/03/04 15:38:33 riastradh Exp $
 
 DISTNAME=              racket-8.11.1-src
 PKGNAME=               ${DISTNAME:S/-src$//}
@@ -29,6 +29,17 @@ CONFIGURE_ARGS=              --enable-pthread
 CONFIGURE_ARGS+=       --enable-curses
 CONFIGURE_ARGS+=       --enable-iconv
 
+# On macOS, Racket insists that we choose between Unix-style or
+# Mac-style installation:
+#
+# ERROR: --prefix not allowed for a Mac OS build, unless either
+#          --enable-xonx is supplied (to create a Unix-style
+#            build), or 
+#          --enable-macprefix is supplied (to allow a Mac-style
+#            installation, even though --prefix is normally used
+#            for Unix-style installations)
+CONFIGURE_ARGS.Darwin+=        --enable-xonx
+
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake pkg-config
 USE_TOOLS.NetBSD+=     paxctl

Index: pkgsrc/lang/racket-textual/Makefile
diff -u pkgsrc/lang/racket-textual/Makefile:1.43 pkgsrc/lang/racket-textual/Makefile:1.44
--- pkgsrc/lang/racket-textual/Makefile:1.43    Fri Jan  5 14:55:38 2024
+++ pkgsrc/lang/racket-textual/Makefile Mon Mar  4 15:38:33 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2024/01/05 14:55:38 riastradh Exp $
+# $NetBSD: Makefile,v 1.44 2024/03/04 15:38:33 riastradh Exp $
 
 DISTNAME=              racket-minimal-8.11.1-src
 PKGNAME=               ${DISTNAME:S/-src$//}
@@ -27,6 +27,17 @@ CONFIGURE_ARGS=              --enable-pthread
 CONFIGURE_ARGS+=       --enable-curses
 CONFIGURE_ARGS+=       --enable-iconv
 
+# On macOS, Racket insists that we choose between Unix-style or
+# Mac-style installation:
+#
+# ERROR: --prefix not allowed for a Mac OS build, unless either
+#          --enable-xonx is supplied (to create a Unix-style
+#            build), or 
+#          --enable-macprefix is supplied (to allow a Mac-style
+#            installation, even though --prefix is normally used
+#            for Unix-style installations)
+CONFIGURE_ARGS.Darwin+=        --enable-xonx
+
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config gmake
 USE_TOOLS.NetBSD+=     paxctl



Home | Main Index | Thread Index | Old Index