aboutsummaryrefslogtreecommitdiff
path: root/lang/pfe/Makefile
blob: 2172449e134c312cffabdaec8ce9315ba6bb2323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	pfe
PORTVERSION=	0.33.71
PORTREVISION=	3
CATEGORIES=	lang
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Implementation of ANSI Forth
WWW=		https://pfe.sourceforge.net/

BROKEN_aarch64=		fails to compile: pfe/assembler-ext.c:99:5: implicit declaration of function 'PFE_SBR_COMPILE_EXIT' is invalid in C99
BROKEN_armv6=		fails to compile: pfe/assembler-ext.c:99:5: implicit declaration of function 'PFE_SBR_COMPILE_EXIT' is invalid in C99
BROKEN_armv7=		fails to compile: pfe/assembler-ext.c:99:5: implicit declaration of function 'PFE_SBR_COMPILE_EXIT' is invalid in C99
BROKEN_i386=		fails to link
BROKEN_powerpc=		fails to compile
BROKEN_powerpc64=	fails to build: lvalue required as increment operand
BROKEN_riscv64=		fails to compile: pfe/assembler-ext.c:99:5: implicit declaration of function 'PFE_SBR_COMPILE_EXIT' is invalid in C99

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USES=		gmake perl5 libtool tar:bzip2
USE_PERL5=	build
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--without-testmodule
MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
INSTALL_TARGET=	install-strip

post-patch:
	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
		 s|-O$$opt_level||g' ${WRKSRC}/pfe/configure

post-install:
	${LN} -s libpfe-0-forth.so.33 ${STAGEDIR}${PREFIX}/lib/libpfe-0-forth.so

.include <bsd.port.mk>