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

(-)databases/sqlite3/Makefile (+21 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	sqlite3
3
PORTNAME=	sqlite3
4
DISTVERSION=	3.35.5
4
DISTVERSION=	3.35.5
5
PORTREVISION=	1
5
PORTEPOCH=	1
6
PORTEPOCH=	1
6
CATEGORIES=	databases
7
CATEGORIES=	databases
7
MASTER_SITES=	https://www.sqlite.org/${%Y:L:gmtime}/ https://www2.sqlite.org/${%Y:L:gmtime}/ https://www3.sqlite.org/${%Y:L:gmtime}/
8
MASTER_SITES=	https://www.sqlite.org/${%Y:L:gmtime}/ https://www2.sqlite.org/${%Y:L:gmtime}/ https://www3.sqlite.org/${%Y:L:gmtime}/
Lines 9-17 Link Here
9
10
10
MAINTAINER=	pavelivolkov@gmail.com
11
MAINTAINER=	pavelivolkov@gmail.com
11
COMMENT=	SQL database engine in a C library
12
COMMENT=	SQL database engine in a C library
13
.if ${FLAVOR:U} == icu
14
COMMENT+=	(ICU flavor)
15
.endif
16
.if ${FLAVOR:U} == tcl
17
COMMENT+=	(TCL flavor)
18
.endif
12
19
13
LICENSE=	PD
20
LICENSE=	PD
14
21
22
FLAVORS=	default icu tcl
23
FLAVOR?=	${FLAVORS:[1]}
24
icu_PKGNAMESUFFIX=	-${FLAVOR}	# databases/p5-DBD-SQLite with ICU support
25
icu_CONFLICTS_INSTALL=	${PORTNAME} ${PORTNAME}-tcl
26
tcl_PKGNAMESUFFIX=	-${FLAVOR}	# lang/tcl* support
27
tcl_CONFLICTS_INSTALL=	${PORTNAME} ${PORTNAME}-icu
28
15
USES=	libtool pathfix zip
29
USES=	libtool pathfix zip
16
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
17
31
Lines 56-61 Link Here
56
OPTIONS_RADIO_STAT=	STAT3 STAT4
70
OPTIONS_RADIO_STAT=	STAT3 STAT4
57
OPTIONS_SINGLE=		RAMT
71
OPTIONS_SINGLE=		RAMT
58
OPTIONS_SINGLE_RAMT=	TS0 TS1 TS2 TS3
72
OPTIONS_SINGLE_RAMT=	TS0 TS1 TS2 TS3
73
.if ${FLAVOR:U} == icu
74
OPTIONS_EXCLUDE=	UNICODE61
75
OPTIONS_SLAVE=		ICU
76
.endif
77
.if ${FLAVOR:U} == tcl
78
OPTIONS_SLAVE=		TCL
79
.endif
59
OPTIONS_SUB=		yes
80
OPTIONS_SUB=		yes
60
81
61
ARMOR_DESC=		Detect misuse of the API # https://www.sqlite.org/compile.html#enable_api_armor
82
ARMOR_DESC=		Detect misuse of the API # https://www.sqlite.org/compile.html#enable_api_armor
(-)databases/sqlite3/files/patch-Makefile.in (-1 / +1 lines)
Lines 5-11 Link Here
5
 #
5
 #
6
 tcltest:	./testfixture$(TEXE)
6
 tcltest:	./testfixture$(TEXE)
7
-	./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)
7
-	./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)
8
+	mkdir $(TOP)/testdir && touch $(TOP) test-out.txt && chown nobody $(TOP)/testdir $(TOP) test-out.txt && su -m nobody -c "./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)"
8
+	mkdir $(TOP)/testdir && touch $(TOP)/test-out.txt && chown nobody $(TOP)/testdir $(TOP)/test-out.txt && su -m nobody -c "./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)"
9
 
9
 
10
 # Minimal testing that runs in less than 3 minutes
10
 # Minimal testing that runs in less than 3 minutes
11
 #
11
 #

Return to bug 255526