1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/lang/gcl/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

55 lines
1.1 KiB
Makefile

# New ports collection makefile for: gcl
# Date created: Feb 8 1995
# Whom: hsu
#
# $FreeBSD$
#
PORTNAME= gcl
PORTVERSION= 2.6.7
PORTREVISION= 7
CATEGORIES= lang tcl tk
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gcl
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Common Lisp
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
ONLY_FOR_ARCHS= i386
USE_TK= yes
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/tk${TCL_VER} \
--enable-tclconfig=${LOCALBASE}/lib/tcl${TCL_VER} \
--with-x \
--disable-dlopen \
--disable-dynsysbfd \
--disable-statsysbfd \
--disable-locbfd \
--enable-custreloc
CONFIGURE_ENV= C_INCLUDE_PATH=${PREFIX}/include LIBRARY_PATH=${PREFIX}/lib
CFLAGS+= -I${LOCALBASE}/include
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@@|-lreadline -lm -L${LOCALBASE}/lib -lgmp|' \
${WRKSRC}/h/FreeBSD.defs
.include <bsd.port.post.mk>