1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix build

- Support CFLAGS properly
- Fix COMMENT format

PR:		53390
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Erwin Lansing 2003-06-22 22:09:39 +00:00
parent 1bdd9233bc
commit 8229674619
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83454

View File

@ -12,21 +12,20 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A free Prolog compiler developed by Daniel Diaz
COMMENT= A free Prolog compiler
BROKEN= "Does not build"
.include <bsd.port.pre.mk>
CONFIGURE_ARGS= --disable-linedit
PLIST_SUB+= GPROLOG_VER=1.2.16
GNU_CONFIGURE= yes
AUTOCONF= autoconf
USE_AUTOCONF_VER= 253
AUTOCONF_DIR= ${LOCALBASE}/share/autoconf
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
.include <bsd.port.post.mk>
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-linedit --with-c-flags="${CFLAGS}"
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c
.include <bsd.port.mk>