freebsd-ports/lang/gcl/Makefile
Robert Noland 183473c17e The port maintainer says that this works on amd64 for him, but pointyhat
fails.  After discussing with the maintainer, revert enabling amd64 ARCH.

Reported by:	pointyhat (pav)
Submitted by:	maintainer (via irc)
2009-08-08 12:25:48 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: gcl
# Date created: Feb 8 1995
# Whom: hsu
#
# $FreeBSD$
#
PORTNAME= gcl
PORTVERSION= 2.6.7
PORTREVISION= 5
CATEGORIES= lang tcl tk
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gcl
MAINTAINER= markm@freebsd.org
COMMENT= GNU Common Lisp
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 \
gmp.8:${PORTSDIR}/math/libgmp4
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_XORG= x11
CONFIGURE_ARGS=--prefix=${PREFIX} \
--enable-ansi \
--enable-machine=FreeBSD \
--enable-info=${PREFIX}/info \
--enable-tkconfig=${LOCALBASE}/lib/tk8.4 \
--enable-tclconfig=${LOCALBASE}/lib/tcl8.4 \
--with-x \
--disable-dlopen \
--disable-dynsysbfd \
--disable-statsysbfd \
--disable-locbfd \
--enable-custreloc
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" C_INCLUDE_PATH=${PREFIX}/include LIBRARY_PATH=${PREFIX}/lib
MAKEFILE= makefile
INFO= gcl-si gcl-tk
PLIST_SUB= GCL_VER=${PORTVERSION}
.include <bsd.port.pre.mk>
pre-configure:
${SED} -i '' \
-e 's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include|' \
-e 's|@@LOCALLIBS@@|-L${LOCALBASE}/lib -lgmp -lm -lreadline|' \
${WRKSRC}/h/FreeBSD.defs
.include <bsd.port.post.mk>