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

(-)Makefile (-2 / +8 lines)
Lines 13-18 Link Here
13
13
14
PORTNAME=	sqlite
14
PORTNAME=	sqlite
15
PORTVERSION=	2.8.17
15
PORTVERSION=	2.8.17
16
PORTREVISION=	1
16
CATEGORIES=	databases
17
CATEGORIES=	databases
17
MASTER_SITES=	http://www.sqlite.org/
18
MASTER_SITES=	http://www.sqlite.org/
18
19
Lines 26-31 Link Here
26
USE_REINPLACE=	YES
27
USE_REINPLACE=	YES
27
INSTALLS_SHLIB=	YES
28
INSTALLS_SHLIB=	YES
28
29
30
OPTIONS=	THREAD "Compile with support for threads" off
31
32
.include <bsd.port.pre.mk>
33
29
CONFIGURE_ARGS=		--prefix=${PREFIX} --with-hints=freebsd.hints
34
CONFIGURE_ARGS=		--prefix=${PREFIX} --with-hints=freebsd.hints
30
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
35
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
31
36
Lines 67-79 Link Here
67
MAKE_ENV+=	TCL_VER=${TCL_V}
72
MAKE_ENV+=	TCL_VER=${TCL_V}
68
.endif
73
.endif
69
74
70
.include <bsd.port.pre.mk>
71
72
post-patch:
75
post-patch:
73
	@${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \
76
	@${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \
74
		 -e "s|\./libtool|${LIBTOOL}|g" ${WRKSRC}/Makefile.in
77
		 -e "s|\./libtool|${LIBTOOL}|g" ${WRKSRC}/Makefile.in
75
	@${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" >${WRKSRC}/freebsd.hints
78
	@${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" >${WRKSRC}/freebsd.hints
76
	@${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_SHORT_V}\"" >>${WRKSRC}/freebsd.hints
79
	@${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_SHORT_V}\"" >>${WRKSRC}/freebsd.hints
80
.if defined(WITH_THREAD)
81
	@${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints
82
.endif
77
83
78
post-build:
84
post-build:
79
.if !defined(NOPORTDOCS)
85
.if !defined(NOPORTDOCS)

Return to bug 93101