summaryrefslogtreecommitdiffstats
path: root/lang/pfe/Makefile
blob: 4263483672e3c3de74fc832d03c5e872a4095e21 (plain)
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
# Created by: patrick
# $FreeBSD$

PORTNAME=	pfe
PORTVERSION=	0.33.71
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	SF

MAINTAINER=	johans@FreeBSD.org
COMMENT=	Implementation of ANSI Forth

BROKEN_aarch64=		does not compile: error: implicit declaration of function 'PFE_SBR_COMPILE_EXIT' is invalid in C99
BROKEN_i386=		does not link
BROKEN_powerpc=		does not compile
BROKEN_powerpc64=	Does not build

GNU_CONFIGURE=	yes
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>
OpenPOWER on IntegriCloud