View | Details | Raw Unified | Return to bug 137229
Collapse All | Expand All

(-)Makefile (-2 / +14 lines)
Lines 22-35 Link Here
22
		${LOCALBASE}/lib/tls/tls.tcl:${PORTSDIR}/devel/tcltls \
22
		${LOCALBASE}/lib/tls/tls.tcl:${PORTSDIR}/devel/tcltls \
23
		dtplite:${PORTSDIR}/devel/tcllib
23
		dtplite:${PORTSDIR}/devel/tcllib
24
24
25
GNU_CONFIGURE=	yes
26
USE_BZIP2=	yes
25
USE_BZIP2=	yes
27
USE_GMAKE=	yes
26
USE_GMAKE=	yes
27
USE_LDCONFIG=	yes
28
28
29
GNU_CONFIGURE=	yes
29
CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/tcl8.4 \
30
CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/tcl8.4 \
30
		--with-tk=${LOCALBASE}/lib/tk8.4
31
		--with-tk=${LOCALBASE}/lib/tk8.4
31
32
32
CONFIGURE_ENV=	TK_INC_SPEC=${LOCALBASE}/include/tk8.4/generic
33
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
34
		LDFLAGS="-L${LOCALBASE}/lib" \
35
		TK_INC_SPEC=${LOCALBASE}/include/tk8.4/generic
36
37
.if defined(WITHOUT_NLS)
38
CONFIGURE_ARGS+=	--disable-nls
39
PLIST_SUB+=	NLS="@comment "
40
.else
41
USE_GETTEXT=	yes
42
CONFIGURE_ARGS+=	--enable-nls
43
PLIST_SUB+=	NLS=""
44
.endif
33
45
34
post-patch:
46
post-patch:
35
	@${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' | ${XARGS} ${REINPLACE_CMD} -e 's|
47
	@${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' | ${XARGS} ${REINPLACE_CMD} -e 's|

Return to bug 137229