Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 11:47:30 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Pietro Cerutti <gahr@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r340026 - head/net-im/libpurple
Message-ID:  <884B7C619AAEEC285129466D@atuin.in.mat.cc>
In-Reply-To: <201401171033.s0HAX99I020937@svn.freebsd.org>
References:  <201401171033.s0HAX99I020937@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 17 janvier 2014 10:33:09 +0000 Pietro Cerutti <gahr@FreeBSD.org>
wrote:
|  .if ${PORT_OPTIONS:MTCLTK}
| -USE_TK=			yes
| -CFLAGS+=		-I${LOCALBASE}/include/tk${TK_VER}
| -I${LOCALBASE}/include/tcl${TCL_VER} -CONFIGURE_ARGS+=
| 	--with-tclconfig=${LOCALBASE}/lib/tcl${TCL_VER} \ -
| 	--with-tkconfig=${LOCALBASE}/lib/tk${TK_VER}
| +USES+=			tk
| +CFLAGS+=		-I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR}
| +CONFIGURE_ARGS+=	--with-tclconfig=${TCL_LIBDIR} \
| +			--with-tkconfig=${TK_LIBDIR}

Which is way better written as :

TCLTK_USES=             tk
TCLTK_CFLAGS=		-I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR}
TCLTK_CONFIGURE_ON=	--with-tclconfig=${TCL_LIBDIR} \
			--with-tkconfig=${TK_LIBDIR}

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?884B7C619AAEEC285129466D>