lang/bootgcc: do not include OSREV in host architecture
    
This eliminates the need for PLIST changes whenever OSREV is incremented.

!! This is completely untested, since bootgcc will build on neither
!! amd64 nor i386 with -DNO_IGNORE.  However, since the bootgcc port is
!! derived from lang/gcc/8, I'm fairly confident that it will work.

ok?
 
1 file changed, 4 insertions(+), 3 deletions(-)

diff 74ef501df1747bd0fbf687ce145807c799aceff5 
dfa06182e5e14fa11b2681fde017a1af9a6dfcb1
commit - 74ef501df1747bd0fbf687ce145807c799aceff5
commit + dfa06182e5e14fa11b2681fde017a1af9a6dfcb1
blob - 57ae96fa277a725e93dd7dcdfb340e84d3443e9c
blob + b4914b85865777cecb6bfd74eae59eb686e418c4
--- lang/bootgcc/Makefile
+++ lang/bootgcc/Makefile
@@ -5,7 +5,7 @@ DPB_PROPERTIES = parallel
 V = 8.4.0
 FULL_VERSION = $V
 FULL_PKGVERSION = $V
-REVISION = 7
+REVISION = 8
 
 COMMENT =      GNU Compiler Collection; bootstrap package
 PKGNAME =      bootgcc-${FULL_PKGVERSION}
@@ -17,7 +17,7 @@ MAINTAINER =  Pascal Stumpf <pas...@stumpf.co>
 DISTNAME =     gcc-${FULL_VERSION}
 EXTRACT_SUFX = .tar.xz
 DIST_SUBDIR =  gcc
-CONFIG =       ${MACHINE_ARCH}-unknown-openbsd${OSREV}
+CONFIG =       ${MACHINE_ARCH}-unknown-openbsd
 SUBST_VARS +=  CONFIG V
 
 # GPLv3+
@@ -49,6 +49,7 @@ CFLAGS = -O2 -g
 PREFIX = ${LOCALBASE}/bootstrap-gcc
 
 CONFIGURE_ARGS += \
+       --build=${CONFIG} \
        --verbose \
        --disable-nls  \
        --with-system-zlib \
@@ -90,7 +91,7 @@ LIB_DEPENDS +=                devel/gmp,no_cxx,bootstrap \
                        devel/libmpc
 
 .if ${MACHINE_ARCH:Mamd64}
-CONFIG = x86_64-unknown-openbsd${OSREV}
+CONFIG = x86_64-unknown-openbsd
 .endif
 
 post-patch:

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

Reply via email to