diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-06-22 22:09:39 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-06-22 22:09:39 +0000 |
commit | 822967461964bfa08200ee75ab2d97443d04eeb3 (patch) | |
tree | 47bcd571f7a9f6ff22b4c471a33b4716c19d5248 /lang/gprolog | |
parent | Update to 1.0.55 (diff) |
- Fix build
- Support CFLAGS properly
- Fix COMMENT format
PR: 53390
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=83454
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> |