svn commit: r340026 - head/net-im/libpurple

Mathieu Arnold mat at FreeBSD.org
Fri Jan 17 10:47:38 UTC 2014


+--On 17 janvier 2014 10:33:09 +0000 Pietro Cerutti <gahr at 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


More information about the svn-ports-all mailing list