mirror of
https://github.com/openbsd/ports.git
synced 2026-06-19 16:05:12 +02:00
1342386a56
Move to ports-gcc on base-gcc arches to fix build on sparc64
35 lines
822 B
Makefile
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>
|