pkgsrc/lang/swi-prolog-lite/Makefile
joerg cf908eb05e Use a recursion depth of 3 for config.guess/config.sub replacement.
Use portable way to compute timezone offset instead of timezone/daylight,
the former is a function on some BSDs and the latter doesn't even exist
in DragonFly. Fix PLIST on swi-prolog-packages to not use NetBSD ELFism.
Bump revision of swi-prolog-lite and swi-prolog-packages.
2006-10-12 14:14:13 +00:00

37 lines
946 B
Makefile

# $NetBSD: Makefile,v 1.11 2006/10/12 14:14:13 joerg Exp $
.include "Makefile.common"
PKGNAME= swi-prolog-lite-${SWIPLVERS}
PKGREVISION= 1
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= ISO/Edinburgh-style Prolog compiler
GNU_CONFIGURE= yes
OVERRIDE_DIRDEPTH= 3
USE_GNU_READLINE= yes # uses rl_event_hook() interface
CONFIGURE_ENV+= PL=swi-prolog
CONFIGURE_ARGS+= --disable-mt
USE_TOOLS+= gmake
#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"