diff options
Diffstat (limited to 'lang/gprolog')
-rw-r--r-- | lang/gprolog/Makefile | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile index 4f60e3afb828..b4979a8cd4a0 100644 --- a/lang/gprolog/Makefile +++ b/lang/gprolog/Makefile @@ -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> +WRKSRC= ${WRKDIR}/${DISTNAME}/src -CONFIGURE_ARGS= --disable-linedit +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=1.2.16 +PLIST_SUB+= GPROLOG_VER=${PORTVERSION} -GNU_CONFIGURE= yes -AUTOCONF= autoconf -USE_AUTOCONF_VER= 253 -AUTOCONF_DIR= ${LOCALBASE}/share/autoconf -WRKSRC= ${WRKDIR}/${DISTNAME}/src -USE_GMAKE= yes +post-patch: + @${REINPLACE_CMD} -e \ + 's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c -.include <bsd.port.post.mk> +.include <bsd.port.mk> |