936a36e30d
which restores compatibility with old databases (version 1.8) and some later versions which were built without mmap(2) support. Due to shlib version change, bump port revisions of the consumer ports. PR: 233059 Exp-run by: antoine Approved by: maintainer (johans, numerous timeouts)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= elk
|
|
PORTVERSION= 3.99.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://sam.zoy.org/elk/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Embeddable Scheme interpreter
|
|
|
|
LIB_DEPENDS= libgdbm.so:databases/gdbm \
|
|
libelf.so:devel/libelf
|
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
USES= libtool motif tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
CFLAGS= -O0
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc examples||g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf -
|
|
@${FIND} ${STAGEDIR}${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
|
|
|
.include <bsd.port.post.mk>
|