diff options
Diffstat (limited to 'lang/swi-prolog-packages/Makefile')
-rw-r--r-- | lang/swi-prolog-packages/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/swi-prolog-packages/Makefile b/lang/swi-prolog-packages/Makefile index 7145b25b3b7..36320b10318 100644 --- a/lang/swi-prolog-packages/Makefile +++ b/lang/swi-prolog-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/08/29 23:58:24 markd Exp $ +# $NetBSD: Makefile,v 1.14 2006/10/12 14:14:13 joerg Exp $ .include "../../lang/swi-prolog-lite/Makefile.common" @@ -9,17 +9,22 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Packages for SWI Prolog GNU_CONFIGURE= yes +OVERRIDE_DIRDEPTH= 3 USE_GNU_READLINE= yes # uses rl_event_hook() interface USE_TOOLS+= gmake +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "xorg" +BUILD_DEPENDS+= xorg-server-[0-9]*:../../x11/xorg-server +.endif + CONFIGURE_ENV+= PL=swi-prolog CONFIGURE_ARGS+= --disable-mt BUILD_DIRS+= ${WRKSRC}/packages INSTALL_DIRS+= ${WRKSRC}/packages -.include "../../mk/bsd.prefs.mk" - post-configure: ${LN} -sf ${LOCALBASE}/bin/plld ${WRKSRC}/src ${LN} -sf ${LOCALBASE}/bin/swi-prolog ${WRKSRC}/src |