Add gmp support, so as to enable missing arithmetic functions (eg.
rationalize/1). Also fix WANTLIB. OK jasper@ NOTE: port-lib-depends-check is still broken for this port. For now we can use lib-depends-check instead.
This commit is contained in:
parent
c9dfc6db1d
commit
85b5b4e03a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.35 2011/07/18 19:06:37 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.36 2011/08/18 10:51:08 edd Exp $
|
||||
|
||||
COMMENT = Prolog for the real world
|
||||
|
||||
@ -6,7 +6,7 @@ V = 5.10.4
|
||||
XV = 6.6.66
|
||||
DISTNAME = pl-$V
|
||||
PKGNAME = swi-prolog-$V
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
CATEGORIES = lang
|
||||
|
||||
SHARED_LIBS = pl 3.0
|
||||
@ -28,6 +28,9 @@ AUTOCONF_DIR = ${WRKSRC}/src ${WRKSRC}/packages/semweb
|
||||
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/src \
|
||||
${WRKSRC}/packages/jpl \
|
||||
${WRKSRC}/packages/xpce/src
|
||||
|
||||
CONFIGURE_ENV += LDFLAGS=-L${LOCALBASE}/lib \
|
||||
CPPFLAGS=-I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS = --enable-mt \
|
||||
--disable-custom-flags \
|
||||
--with-world \
|
||||
@ -42,7 +45,10 @@ MAKE_FLAGS = SONAMEOPT= \
|
||||
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||
RUN_DEPENDS = graphics/jpeg
|
||||
WANTLIB += c m ncursesw pthread pthread-stubs readline z
|
||||
LIB_DEPENDS = devel/gmp
|
||||
|
||||
WANTLIB += ICE SM X11 Xext Xft Xinerama Xpm Xt c crypto gmp jpeg m
|
||||
WANTLIB += ncursesw pthread readline ssl z
|
||||
|
||||
FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV}
|
||||
SUBST_VARS = V XV FULLARCH BOOT
|
||||
|
12
lang/swi-prolog/patches/patch-src_Makefile_in
Normal file
12
lang/swi-prolog/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2011/08/18 10:51:08 edd Exp $
|
||||
--- src/Makefile.in.orig Mon Aug 15 16:19:18 2011
|
||||
+++ src/Makefile.in Mon Aug 15 16:19:34 2011
|
||||
@@ -75,7 +75,7 @@ COFLAGS=@COFLAGS@
|
||||
CWFLAGS=@CWFLAGS@
|
||||
CIFLAGS=@CIFLAGS@
|
||||
CMFLAGS=@CMFLAGS@
|
||||
-CPFLAGS=
|
||||
+CPFLAGS=@CPPFLAGS@
|
||||
CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS) $(CPFLAGS)
|
||||
LDFLAGS=@LDFLAGS@ $(CPFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user