5946936ffc
NO_BUILD, USE_LIBTOOL.
35 lines
904 B
Makefile
35 lines
904 B
Makefile
# $NetBSD: Makefile,v 1.7 2005/09/28 20:52:23 rillig Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGNAME= swi-prolog-lite-${SWIPLVERS}
|
|
PKGREVISION= 1
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= ISO/Edinburgh-style Prolog compiler
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILTIN.readline= no # uses rl_event_hook() interface
|
|
|
|
CONFIGURE_ENV+= PL=swi-prolog
|
|
CONFIGURE_ARGS+= --disable-mt
|
|
#CPPFLAGS+= -DPREFIX=\"${PREFIX}\"
|
|
#CPPFLAGS+= -DSWIPLVERS=\"${SWIPLVERS}\"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \
|
|
${MACHINE_ARCH} == x86_64
|
|
PLIST_SUBST+= BITS=64
|
|
.else
|
|
PLIST_SUBST+= BITS=32
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/shlib.pl \
|
|
${PREFIX}/lib/swi-prolog-${SWIPLVERS}/library/shlib.pl
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
#.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|