pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nanotodon



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Mar 17 14:00:53 UTC 2024

Modified Files:
        pkgsrc/net/nanotodon: Makefile

Log Message:
nanotodon: Avoid using Makefile.bsd, which assumes the linker supports
RPATH (not true for all pkgsrc platforms). Instead, let pkgsrc set the
correct linker arguments itself.

Add some commented out examples of how to get this to compile with NetBSD
libcurses (it works, but not perfectly, and I don't want to make life
more difficult for japanese users)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/nanotodon/Makefile

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

Modified files:

Index: pkgsrc/net/nanotodon/Makefile
diff -u pkgsrc/net/nanotodon/Makefile:1.16 pkgsrc/net/nanotodon/Makefile:1.17
--- pkgsrc/net/nanotodon/Makefile:1.16  Wed Nov  8 13:20:31 2023
+++ pkgsrc/net/nanotodon/Makefile       Sun Mar 17 14:00:52 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/11/08 13:20:31 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2024/03/17 14:00:52 nia Exp $
 
 GITHUB_TAG=    0.3.1
 DISTNAME=      nanotodon-${GITHUB_TAG}
@@ -16,19 +16,20 @@ USE_LANGUAGES=      c99
 INSTALLATION_DIRS+=    bin share/doc/nanotodon
 
 BUILD_TARGET=          default
-MAKE_FILE=             Makefile.bsd
+MAKE_FILE=             Makefile.base
+MAKE_FLAGS+=           NCURSES=ncursesw
 
-SUBST_CLASSES+=                prefix
-SUBST_MESSAGE.prefix=  Fixing hardcoded paths and link options in Makefiles.
-SUBST_STAGE.prefix=    pre-configure
-SUBST_FILES.prefix=    Makefile.bsd
-SUBST_SED.prefix+=     -e 's|/usr/pkg/|${PREFIX}/|g'
+# problems rendering UTF-8
+#MAKE_FLAGS+=          NCURSES=${BUILDLINK_LIBNAME.curses}
+#FAKE_NCURSES=         yes
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/nanotodon ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/README.md \
            ${DESTDIR}${PREFIX}/share/doc/nanotodon
 
-.include "../../devel/ncursesw/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+# problems rendering UTF-8
+#.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index