lang/pcc: do not include OSREV in host architecture

This eliminates the need for PLIST changes whenever OSREV is incremented.

ok tb@ kn@
This commit is contained in:
naddy
2025-02-04 22:10:49 +00:00
parent 7309e13f1e
commit da87e27eb3
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -19,6 +19,10 @@ HOMEPAGE ?= http://pcc.ludd.ltu.se/
# BSD
PERMIT_PACKAGE = Yes
# do not include OSREV
CONFIG ?= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd
CONFIGURE_STYLE ?= gnu
CONFIGURE_ARGS ?= --build=${CONFIG}
NO_TEST ?= Yes
+1 -2
View File
@@ -2,12 +2,11 @@ COMMENT = libraries for the portable C compiler
DISTNAME = pcc-libs-${DISTVER}
PKGNAME = pcc-libs-${PKGVER}
REVISION = 1
REVISION = 2
SITES = http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/ \
ftp://pcc.ludd.ltu.se/pub/pcc-libs/
CONFIG = ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
SUBST_VARS = CONFIG PCCVER
.include <bsd.port.mk>
+1
View File
@@ -2,6 +2,7 @@ COMMENT = portable C compiler
DISTNAME = pcc-${DISTVER}
PKGNAME = pcc-${PKGVER}
REVISION = 0
WANTLIB += c