~cypheon/pkgsrc-wip

792c4e06f84792ad50023f606f66f0c29d914bcc — Johann Rudloff a month ago 0d870b8
chezscheme-racket: Use pkgsrc-/system-provided zlib and lz4
2 files changed, 7 insertions(+), 4 deletions(-)

M chezscheme-racket/Makefile
M chezscheme-racket/PLIST
M chezscheme-racket/Makefile => chezscheme-racket/Makefile +7 -2
@@ 13,7 13,7 @@ LICENSE=	apache-2.0

WRKSRC=		${WRKDIR}/racket-8.3
HAS_CONFIGURE=	yes
USE_TOOLS+=	gmake
USE_TOOLS+=	gmake pkg-config
USE_LANGUAGES=	c

CONFLICTS=	chezscheme-[0-9]*


@@ 34,17 34,22 @@ post-extract:
	rm -rf ${WRKSRC}/share ${WRKSRC}/src/bc ${WRKSRC}/src/cs

pre-configure:
	cd ${WRKSRC}/src/ChezScheme && ./configure --pb && \
	cd ${WRKSRC}/src/ChezScheme && \
		./configure --pb ZLIB=-lz \
		LZ4="`pkg-config --libs liblz4`" && \
		gmake auto.bootquick

do-configure:
	cd ${WRKSRC}/src/ChezScheme && \
		./configure \
			ZLIB=-lz \
			LZ4="`pkg-config --libs liblz4`" \
			--threads \
			--disable-x11 \
			--installprefix=${PREFIX} \
			--installman=${PREFIX}/${PKGMANDIR} \
			--temproot=${DESTDIR}

.include "../../archivers/lz4/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

M chezscheme-racket/PLIST => chezscheme-racket/PLIST +0 -2
@@ 31,8 31,6 @@ lib/csv9.5.5.5/examples/socket.ss
lib/csv9.5.5.5/examples/template.ss
lib/csv9.5.5.5/examples/unify.ss
lib/csv9.5.5.5/ta6nb/libkernel.a
lib/csv9.5.5.5/ta6nb/liblz4.a
lib/csv9.5.5.5/ta6nb/libz.a
lib/csv9.5.5.5/ta6nb/main.o
lib/csv9.5.5.5/ta6nb/petite.boot
lib/csv9.5.5.5/ta6nb/revision