diff --git a/lang/pcc/Makefile.inc b/lang/pcc/Makefile.inc index 85fb57e8a12..6c1b6c896b2 100644 --- a/lang/pcc/Makefile.inc +++ b/lang/pcc/Makefile.inc @@ -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 diff --git a/lang/pcc/pcc-libs/Makefile b/lang/pcc/pcc-libs/Makefile index 5464b1cc313..ce5b87d8c36 100644 --- a/lang/pcc/pcc-libs/Makefile +++ b/lang/pcc/pcc-libs/Makefile @@ -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 diff --git a/lang/pcc/pcc/Makefile b/lang/pcc/pcc/Makefile index 7330b547a99..56974383b8f 100644 --- a/lang/pcc/pcc/Makefile +++ b/lang/pcc/pcc/Makefile @@ -2,6 +2,7 @@ COMMENT = portable C compiler DISTNAME = pcc-${DISTVER} PKGNAME = pcc-${PKGVER} +REVISION = 0 WANTLIB += c