pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/wordtsar



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jan 31 10:09:44 UTC 2025

Modified Files:
        pkgsrc/editors/wordtsar: Makefile

Log Message:
wordtsar: fix build

Unclear why the path to version.h is so broken, but just work around it.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/editors/wordtsar/Makefile

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

Modified files:

Index: pkgsrc/editors/wordtsar/Makefile
diff -u pkgsrc/editors/wordtsar/Makefile:1.7 pkgsrc/editors/wordtsar/Makefile:1.8
--- pkgsrc/editors/wordtsar/Makefile:1.7        Sat Nov 30 21:03:37 2024
+++ pkgsrc/editors/wordtsar/Makefile    Fri Jan 31 10:09:43 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2024/11/30 21:03:37 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/01/31 10:09:43 wiz Exp $
 
 DISTNAME=      WordTsar-0.3.719-src
 PKGNAME=       ${DISTNAME:tl:S/-src//}
@@ -12,13 +12,23 @@ HOMEPAGE=   http://wordtsar.ca/
 COMMENT=       Wordstar for the 21st Century
 LICENSE=       gnu-agpl-v3
 
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    bash pkg-config
 USE_LANGUAGES= c c++
 
 INSTALLATION_DIRS+=    bin
 
+REPLACE_BASH+= rev.sh
+
+# unclear why this is necessary or where this comes from
+SUBST_CLASSES+=                path
+SUBST_SED.path+=       -e s,../../src/core/include/version.h,../src/core/include/version.h,
+SUBST_FILES.path+=     build/Makefile
+SUBST_STAGE.path=      post-configure
+SUBST_MESSAGE.path=    Fixing path to version.h
+
 do-configure:
        ${MKDIR} ${WRKSRC}/build
+       ${CHMOD} 755 ${WRKSRC}/rev.sh
        cd ${WRKSRC}/build && \
                ${CONFIGURE_ENV} ${QTDIR}/bin/qmake ../wordtsar.pro
 



Home | Main Index | Thread Index | Old Index