freebsd-ports/lang/gprolog/Makefile
Kris Kennaway fe54d2a7c7 BROKEN on 5.x: Does not compile
Approved by:    portmgr (self)
2004-09-18 17:49:31 +00:00

40 lines
856 B
Makefile

# New ports collection makefile for: gprolog
# Date created: 30 June 2001
# Whom: Douglas Anestad <yotta@dougdidit.com>
#
# $FreeBSD$
#
PORTNAME= gprolog
PORTVERSION= 1.2.16
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= vs@FreeBSD.org
COMMENT= A free Prolog compiler
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}"
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c
.include <bsd.port.post.mk>