ok?

Apart from the s/openbsd7\.6/openbsd/g change, the build logs are
identical, and I can still successfully build a Pascal hello world
program.

-----------------------------------------------
commit 6f27c3e344c24404010d9171464c98b00b69b1a2 (mystuff)
from: Christian Weisgerber <na...@mips.inka.de>
date: Tue Feb  4 21:00:42 2025 UTC
 
 lang/gpc: do not include OSREV in host architecture
  
 This eliminates the need for PLIST changes whenever OSREV is incremented.
 
diff 33133c86d80fc279698139a0d9303d543eaeedba 
6f27c3e344c24404010d9171464c98b00b69b1a2
commit - 33133c86d80fc279698139a0d9303d543eaeedba
commit + 6f27c3e344c24404010d9171464c98b00b69b1a2
blob - db37f21052b1db9b8d66f3fa6b42960afe8f1bf4
blob + 1e02d72f454778dd9bd2663b2b5cdb299382b233
--- lang/gpc/Makefile
+++ lang/gpc/Makefile
@@ -3,7 +3,7 @@ NOT_FOR_ARCHS = aarch64 m88k mips64 powerpc64 riscv64
 
 COMMENT =      GNU Pascal compiler
 DISTNAME =     gpc-20070904
-REVISION =     17
+REVISION =     18
 CATEGORIES =   lang
 
 HOMEPAGE =     https://www.gnu-pascal.de/gpc/h-index.html
@@ -27,6 +27,8 @@ LIB_DEPENDS = devel/gmp \
 # libgpc doesn't work.
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS = \
+       --build=${CONFIG} \
+       --host=${CONFIG} \
        --verbose \
        --disable-nls  \
        --disable-checking \
@@ -62,7 +64,8 @@ PKG_ARGS += -DPPC=1
 PKG_ARGS += -DPPC=0
 .endif
 
-CONFIG =       ${MACHINE_ARCH}-unknown-openbsd${OSREV}
+# do not include OSREV
+CONFIG =       ${MACHINE_ARCH}-unknown-openbsd
 SUBST_VARS +=  CONFIG
 
 # We don't really want gcc-4.2.4 laying around...

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to