Changeset View
Changeset View
Standalone View
Standalone View
lang/guile/Makefile
PORTNAME= guile | PORTNAME= guile-meta | ||||
PORTVERSION= 3.0.9 | PORTVERSION= 4 | ||||
PORTREVISION= 2 | |||||
CATEGORIES= lang scheme | CATEGORIES= lang scheme | ||||
MASTER_SITES= GNU | MASTER_SITES= # empty | ||||
DISTFILES= # empty | |||||
EXTRACT_ONLY= # empty | |||||
MAINTAINER= bofh@FreeBSD.org | MAINTAINER= andrew@tao11.riddles.org.uk | ||||
COMMENT= GNU Ubiquitous Intelligent Language for Extension | COMMENT= Meta-port for the Guile interpreter | ||||
WWW= https://www.gnu.org/software/guile/ | WWW= http://www.gnu.org/software/guile/ | ||||
LICENSE= GPLv3 LGPL3 | LICENSE= NA | ||||
LICENSE_COMB= multi | LICENSE_COMB= single | ||||
LICENSE_NAME= Non applicable | |||||
LICENSE_TEXT= No licenses are applicable to metaports | |||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept | |||||
# Currently has linker error in i386. Feel free to add other ARCHS in | # no flavors and no version specified, so that we get the default | ||||
# case of failure | # version as specified in DEFAULT_VERSIONS. | ||||
NOT_FOR_ARCHS= i386 | USES= guile:run | ||||
LIB_DEPENDS= libffi.so:devel/libffi \ | NO_ARCH= yes | ||||
libgmp.so:math/gmp \ | NO_BUILD= yes | ||||
libltdl.so:devel/libltdl \ | |||||
libunistring.so:devel/libunistring | |||||
USES= charsetfix compiler:c11 cpe gmake iconv libtool \ | # We don't provide a pkgconf or similar - this is purely a user | ||||
makeinfo pathfix pkgconfig readline tar:lz | # convenience, and building should always be done against a specific | ||||
CPE_VENDOR= gnu | # version. | ||||
USE_LDCONFIG= yes | PLIST_FILES= bin/guile bin/guild | ||||
GNU_CONFIGURE= yes | do-install: | ||||
CONFIGURE_ARGS= --enable-lto=${WITHOUT_LTO:Dno:U${WITH_LTO:Dyes:Uno}} | for prog in guile guild; do \ | ||||
${LN} -sf $${prog}-${GUILE_VER} \ | |||||
#MAKE_JOBS_UNSAFE= yes | ${STAGEDIR}${PREFIX}/bin/$${prog}; \ | ||||
INSTALL_TARGET= install-strip | done | ||||
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> | .include <bsd.port.mk> |