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:   vins
Date:           Mon Sep 25 12:06:35 UTC 2023

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

Log Message:
lang/racket lang/racket-textual: review dependencies

* lang/racket: add missing dependency on GTK3+ needed by the
  `drracket' graphical IDE. Pointed out by @netbsdnoob on UnitedBSD.
  See https://docs.racket-lang.org/gui/libs.html
* Explicitly enable curses and iconv support. These are set upstream
  to be enabled if corresponding headers are found, which means enabled
  on NetBSD, but not necessarily elsewhere. As a consequence, buildlink
  include libiconv.
* Use pkgsrc devel/libffi instead of the bundled library to avoid
  duplication.
* Again, bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 pkgsrc/lang/racket/Makefile
cvs rdiff -u -r1.40 -r1.41 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.96 pkgsrc/lang/racket/Makefile:1.97
--- pkgsrc/lang/racket/Makefile:1.96    Wed Sep 20 22:37:39 2023
+++ pkgsrc/lang/racket/Makefile Mon Sep 25 12:06:35 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.96 2023/09/20 22:37:39 vins Exp $
+# $NetBSD: Makefile,v 1.97 2023/09/25 12:06:35 vins Exp $
 
 DISTNAME=              racket-8.10-src
 PKGNAME=               ${DISTNAME:S/-src$//}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            lang
 MASTER_SITES_PLT=      https://download.racket-lang.org/installers/${PKGVERSION_NOREV}/
 MASTER_SITES_PLT+=     https://mirror.racket-lang.org/installers/${PKGVERSION_NOREV}/
@@ -31,6 +31,9 @@ WRKSRC=               ${WRKDIR}/${PKGNAME_NOREV}
 GNU_CONFIGURE=         yes
 CONFIGURE_DIRS=                src
 CONFIGURE_ARGS=                --enable-pthread
+CONFIGURE_ARGS+=       --enable-curses
+CONFIGURE_ARGS+=       --enable-iconv
+
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake pkg-config
 USE_TOOLS.NetBSD+=     paxctl
@@ -63,11 +66,14 @@ post-install:
        ${MV} -f ${DESTDIR:Q}${PKG_SYSCONFDIR:Q}/racket/config.rktd \
                ${DESTDIR:Q}${PREFIX:Q}/${EGDIR:Q}
 
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .include "../../x11/libXaw/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"

Index: pkgsrc/lang/racket-textual/Makefile
diff -u pkgsrc/lang/racket-textual/Makefile:1.40 pkgsrc/lang/racket-textual/Makefile:1.41
--- pkgsrc/lang/racket-textual/Makefile:1.40    Thu Sep 21 09:57:29 2023
+++ pkgsrc/lang/racket-textual/Makefile Mon Sep 25 12:06:35 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.40 2023/09/21 09:57:29 vins Exp $
+# $NetBSD: Makefile,v 1.41 2023/09/25 12:06:35 vins Exp $
 
 DISTNAME=              racket-minimal-8.10-src
 PKGNAME=               ${DISTNAME:S/-src$//}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            lang
 MASTER_SITES_PLT=      http://download.racket-lang.org/installers/${PKGVERSION_NOREV}/
 MASTER_SITES_PLT+=     http://www.eecs.northwestern.edu/racket/${PKGVERSION_NOREV}/
@@ -28,6 +28,9 @@ WRKSRC=               ${WRKDIR}/racket-${PKGVERSION_N
 GNU_CONFIGURE=         yes
 CONFIGURE_DIRS=                src
 CONFIGURE_ARGS=                --enable-pthread
+CONFIGURE_ARGS+=       --enable-curses
+CONFIGURE_ARGS+=       --enable-iconv
+
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config gmake
 USE_TOOLS.NetBSD+=     paxctl
@@ -55,6 +58,9 @@ post-install:
        ${MV} -f ${DESTDIR:Q}${PKG_SYSCONFDIR:Q}/racket/config.rktd \
                ${DESTDIR:Q}${PREFIX:Q}/${EGDIR:Q}
 
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
+
 PTHREAD_AUTO_VARS=     yes
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/terminfo.buildlink3.mk"



Home | Main Index | Thread Index | Old Index