| @@ -1,29 +1,40 @@ | | | @@ -1,29 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.3 2020/04/27 18:38:44 micha Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2020/05/15 14:59:53 micha Exp $ |
2 | | | 2 | |
3 | DISTNAME= eureka-1.27b-source | | 3 | DISTNAME= eureka-1.27b-source |
4 | # Some macOS patches were added after the release of 1.27 but unfortunately | | 4 | # Some macOS patches were added after the release of 1.27 but unfortunately |
5 | # the archive name was not changed (pkgsrc used 1.27.1 for this version). | | 5 | # the archive name was not changed (pkgsrc used 1.27.1 for this version). |
6 | # The second patch release is called 1.27b, we use version 1.27.2 for it. | | 6 | # The second patch release is called 1.27b, we use version 1.27.2 for it. |
7 | # Switch back to upstream naming scheme for next major/minor release. | | 7 | # Switch back to upstream naming scheme for next major/minor release. |
8 | PKGNAME= ${DISTNAME:S/-source//:S/b/.2/} | | 8 | PKGNAME= ${DISTNAME:S/-source//:S/b/.2/} |
9 | CATEGORIES= games | | 9 | CATEGORIES= games |
10 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eureka-editor/} | | 10 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eureka-editor/} |
11 | | | 11 | |
12 | MAINTAINER= micha@NetBSD.org | | 12 | MAINTAINER= micha@NetBSD.org |
13 | HOMEPAGE= https://sourceforge.net/projects/eureka-editor/ | | 13 | HOMEPAGE= https://sourceforge.net/projects/eureka-editor/ |
14 | COMMENT= Doom/Heretic/Hexen map editor | | 14 | COMMENT= Doom/Heretic/Hexen map editor |
15 | LICENSE= gnu-gpl-v2 | | 15 | LICENSE= gnu-gpl-v2 |
16 | | | 16 | |
| | | 17 | # Error on SmartOS 20200130T160054Z/x86_64: |
| | | 18 | # [...] |
| | | 19 | # src/e_basis.cc:1200:57: error: expected ',' or '...' before numeric constant |
| | | 20 | # 1200 | static void ChecksumSector(crc32_c& crc, const Sector * SEC) |
| | | 21 | # | ^~~ |
| | | 22 | # src/e_basis.cc: In function 'void ChecksumSector(crc32_c&, const Sector*)': |
| | | 23 | # src/e_basis.cc:1202:12: error: base operand of '->' is not a pointer |
| | | 24 | # 1202 | crc += SEC->floorh; |
| | | 25 | # | ^~ |
| | | 26 | BROKEN_ON_PLATFORM= SunOS-*-* |
| | | 27 | |
17 | # Makefile declares "-std=c++03" | | 28 | # Makefile declares "-std=c++03" |
18 | USE_LANGUAGES= c++03 | | 29 | USE_LANGUAGES= c++03 |
19 | USE_TOOLS+= gmake | | 30 | USE_TOOLS+= gmake |
20 | | | 31 | |
21 | WRKSRC= ${WRKDIR}/eureka-1.27b-source | | 32 | WRKSRC= ${WRKDIR}/eureka-1.27b-source |
22 | | | 33 | |
23 | # DOOMWADDIR is intentionally shared with other Doom packages | | 34 | # DOOMWADDIR is intentionally shared with other Doom packages |
24 | DOOMWADDIR= share/doom | | 35 | DOOMWADDIR= share/doom |
25 | INSTALLATION_DIRS= bin | | 36 | INSTALLATION_DIRS= bin |
26 | | | 37 | |
27 | # Modify internal search path to check ${PREFIX}/share hierarchy first | | 38 | # Modify internal search path to check ${PREFIX}/share hierarchy first |
28 | SUBST_CLASSES+= prefix | | 39 | SUBST_CLASSES+= prefix |
29 | SUBST_STAGE.prefix= do-configure | | 40 | SUBST_STAGE.prefix= do-configure |