mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
73ca9e7230
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke ld via $PATH. Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE is active to use ld.bfd for these ports. Approved by: portmgr (antoine) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14876
39 lines
818 B
Makefile
39 lines
818 B
Makefile
# Created by: Denis Shaposhnikov <dsh@vlink.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ztcl
|
|
DISTVERSION= 1.0b4
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel tcl
|
|
MASTER_SITES= http://download.gna.org/ztcl/1.0/
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}_src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Zlib extension library for the Tcl
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libtclmore0.so:devel/tclmore
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= gmake tcl:tea
|
|
USE_LDCONFIG= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//}
|
|
LLD_UNSAFE= yes
|
|
|
|
INFO= ${PORTNAME} ${PORTNAME}-zlib
|
|
|
|
CONFIGURE_ARGS= --with-tclmorescripts=${LOCALBASE}/libexec/tclmore \
|
|
--enable-threads
|
|
MAKE_ENV+= STAGEDIR=${STAGEDIR}
|
|
CPPFLAGS+= -I ${LOCALBASE}/include
|
|
LDFLAGS+= -L ${LOCALBASE}/lib
|
|
|
|
PORTDOCS= *
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/doc/zlib.texi ${WRKSRC}/doc/${PORTNAME}-zlib.texi
|
|
|
|
.include <bsd.port.mk>
|