diff options
Diffstat (limited to 'lang/swi-pl')
-rw-r--r-- | lang/swi-pl/Makefile | 12 | ||||
-rw-r--r-- | lang/swi-pl/distinfo | 4 | ||||
-rw-r--r-- | lang/swi-pl/pkg-plist | 1 |
3 files changed, 12 insertions, 5 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile index 16fe4aaaaef8..210c00118345 100644 --- a/lang/swi-pl/Makefile +++ b/lang/swi-pl/Makefile @@ -6,7 +6,7 @@ # PORTNAME= swi-pl -PORTVERSION= 5.4.6 +PORTVERSION= 5.4.7 CATEGORIES= lang MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/ \ http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ @@ -15,11 +15,17 @@ DISTNAME= pl-${PORTVERSION} MAINTAINER= g.gonter@ieee.org COMMENT= Edinburgh-style Prolog compiler +LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline + CONFLICTS= slffea-[0-9]* TenDRA-[0-9]* NOPRECIOUSMAKEVARS=yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes +# Find libreadline from ports: +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --host=${MACHINE_ARCH}-${OPSYS:L} --disable-mt MAN1= pl.1 plrc.1 plld.1 PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L} @@ -42,7 +48,7 @@ post-patch: ${WRKSRC}/src/Makefile.in post-configure: - ${REINPLACE_CMD} -e '/MALLOC_H/s/^#define \(HAVE_.*_MALLOC_H\).*/\/\* #undef \1 \*\//g' \ + ${REINPLACE_CMD} -e '/MALLOC_H/s/^#define \(HAVE_.*MALLOC_H\).*/\/\* #undef \1 \*\//g' \ ${WRKSRC}/src/config.h ${REINPLACE_CMD} -e '/^ARCH=/s/^ARCH=.*/ARCH=${ARCH}-${OPSYS:L}/' \ ${WRKSRC}/src/Makefile @@ -51,5 +57,7 @@ post-install: .for f in pl plld plrc @${STRIP_CMD} ${PREFIX}/lib/${DISTNAME}/bin/${ARCH}-${OPSYS:L}/$f .endfor + # swi-pl creates this empty directory + ${RMDIR} ${PREFIX}/lib/${DISTNAME}/man .include <bsd.port.post.mk> diff --git a/lang/swi-pl/distinfo b/lang/swi-pl/distinfo index ab06a9fd5bd2..0109a67e9b51 100644 --- a/lang/swi-pl/distinfo +++ b/lang/swi-pl/distinfo @@ -1,2 +1,2 @@ -MD5 (pl-5.4.6.tar.gz) = f4977a5b24e07f3ef67d805c1773dc2c -SIZE (pl-5.4.6.tar.gz) = 8172507 +MD5 (pl-5.4.7.tar.gz) = 5c57c9a752bd3c6f56e4ae506ab23726 +SIZE (pl-5.4.7.tar.gz) = 8166348 diff --git a/lang/swi-pl/pkg-plist b/lang/swi-pl/pkg-plist index 264906828192..8b0ef5dbf09b 100644 --- a/lang/swi-pl/pkg-plist +++ b/lang/swi-pl/pkg-plist @@ -81,7 +81,6 @@ lib/%%DISTNAME%%/library/threadutil.pl lib/%%DISTNAME%%/library/tty.pl lib/%%DISTNAME%%/library/url.pl lib/%%DISTNAME%%/swipl -@dirrm lib/%%DISTNAME%%/man @dirrm lib/%%DISTNAME%%/library/clp @dirrm lib/%%DISTNAME%%/library @dirrm lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%% |