Files
kmos 1342386a56 error: missing binary operator before token "("
Move to ports-gcc on base-gcc arches to fix build on sparc64
2026-03-16 22:30:26 +00:00

35 lines
822 B
Makefile

COMMENT= POSIX-compliant command line shell
VERSION= 2.61
DISTNAME= yash-${VERSION}
CATEGORIES= shells
HOMEPAGE= https://magicant.github.io/yash/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
SITES= https://github.com/magicant/yash/releases/download/${VERSION}/
EXTRACT_SUFX= .tar.xz
# error: missing binary operator before token "("
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
WANTLIB= c curses intl m
LIB_DEPENDS= devel/gettext,-runtime
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--mandir="${PREFIX}/man"
CONFIGURE_ENV= CPPFLAGS="-std=c99 -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DEBUG_PACKAGES= ${BUILD_PACKAGES}
# The test script fails if none of LC_ALL, LC_CTYPE, or LANG is set
TEST_ENV= LC_CTYPE=C
.include <bsd.port.mk>