blob: fdb63d18c49d54c872455bdd72f300db59719818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
PORTNAME= guile
PORTVERSION= 3.0.9
CATEGORIES= lang scheme
MASTER_SITES= GNU
MAINTAINER= bofh@FreeBSD.org
COMMENT= GNU Ubiquitous Intelligent Language for Extension
WWW= https://www.gnu.org/software/guile/
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
# Currently has linker error in i386. Feel free to add other ARCHS in
# case of failure
NOT_FOR_ARCHS= i386
LIB_DEPENDS= libffi.so:devel/libffi \
libgmp.so:math/gmp \
libltdl.so:devel/libltdl \
libunistring.so:devel/libunistring
USES= charsetfix compiler:gcc-c++11-lib cpe gmake iconv libtool \
makeinfo pathfix pkgconfig readline tar:lz
CPE_VENDOR= gnu
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
#MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
CONFLICTS_INSTALL= guile1 guile2
INFO= guile r5rs
PLIST_SUB= GUILE_VER=${PORTVERSION:R}
OPTIONS_DEFINE= NLS THREADS
OPTIONS_DEFAULT= NLS THREADS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
THREADS_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded
THREADS_LIB_DEPENDS_OFF= libgc.so:devel/boehm-gc
THREADS_CONFIGURE_WITH= threads
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
EXTRA_PATCHES= ${FILESDIR}/extra-patch-bootstrap_Makefile.in
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-i -e|-i.bak -e|' \
${WRKSRC}/libguile/Makefile.in
@${RM} -r ${WRKSRC}/prebuilt/32-bit-big-endian
post-patch-THREADS-on:
@${REINPLACE_CMD} -e 's|bdw-gc|bdw-gc-threaded|g' ${WRKSRC}/configure
# Currently guile fails to run if libs are stripped. Will need to debug
# the case.
#post-install:
# @${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.go" | ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>
|