Commit Graph

27 Commits

Author SHA1 Message Date
espie
008a996e4e fix. stupid. me. 2010-10-30 23:00:28 +00:00
espie
ece9e58d15 make sure sqlports will stop in case of an error.
problem noticed by steven@, sneaky solution by me ;)
2010-10-28 11:11:17 +00:00
espie
06007602cc USE_LIBTOOL is 3-valued.
register TARGETS
2010-10-02 10:26:17 +00:00
sthen
f0af6ad5d4 output EPOCH and REVISION in dump-vars, and use it in sqlports.
ok espie@ (with a reminder to add EPOCH, my first diff just had REVISION).
2010-09-21 15:18:03 +00:00
espie
7aaef79d35 fix, should build correctly even if SUBDIR is defined 2010-04-19 09:21:31 +00:00
espie
85043bd81f turn on foreign key constraints, as they seem to work ;-) 2010-04-17 14:37:02 +00:00
espie
78282381f7 a few minor tidying.
commit to db only at end of port (referential integrity for later)
handle BROKEN-arch and create new table/view based on that.
2010-04-17 13:06:49 +00:00
espie
94160ea7d4 get mksqlitedb to handle IGNORE and COMES_WITH if they show up.
Also don't spazz out if we meet variables we don't know. This makes us
safe from changes in dump-vars.
2010-02-12 11:53:09 +00:00
espie
a7043b7ecf tag sqlports as "always-update".
If you don't have current pkgtools, *this will break*.
(@option always-update was introduced over a month ago).
2009-12-01 18:27:46 +00:00
espie
768004e514 use left join on optional values, otherwise we lose a lot of _ports entries. 2009-08-25 09:15:43 +00:00
espie
c66ef3ab79 start building the _Ports view. 2009-08-15 12:43:58 +00:00
espie
ed5d8b0ec0 create views for most of the subsidiary tables 2009-08-14 12:41:56 +00:00
espie
4cbecf28d7 create the ports table in the same way 2009-08-14 11:31:37 +00:00
espie
7eba8edd1b higher level table creation for individual tables except Ports:
create column objects, and ask the inserter to "render" them.
2009-08-14 10:45:52 +00:00
espie
58802f858c even though sqlite doesn't really care, this fixes the column types and adds
foreign key constraints to all the sql compact stuff.
2009-08-14 09:23:10 +00:00
espie
821ea55ffc kill oldish wantlib syntax that no longer exists, results in saner wantlib
tables.
2008-11-25 18:01:15 +00:00
espie
d0317bfa90 new version, lots of code refactoring, and a new compact database. 2008-08-19 23:50:54 +00:00
simon
376085b020 remove surrounding quotes from COMMENT/BROKEN/PERMIT_* 2007-09-15 22:27:38 +00:00
steven
d7999844d8 NO_CHECKSUM and remove empty distinfo
from mikolaj.kucharski at gmail.com

go for it espie@
2007-02-15 08:04:49 +00:00
steven
5a12bf0e91 put USE_X11 in the table.
sure espie@
2006-12-27 11:16:10 +00:00
espie
6837ca4337 optimize table structure, idea from Martynas Venckus 2006-11-03 23:26:41 +00:00
espie
ae324520f0 use DROP IF EXISTS (from Martynas Venckus)
fix WANTLIB, regexp to strip version was totally wrong...

(more to come)
2006-11-03 23:03:09 +00:00
espie
4904d6eb6e move mksqlitedb in the port that uses it. 2006-10-15 09:41:44 +00:00
espie
b160c64929 tweak for PKGPATH, name it correctly as FULLPKGPATH, and add a subsidiary
table to map FULLPKGPATH to PKGPATH, e.g.,

SELECT DISTINCT PKGPATH, VALUE FROM Wantlib,Paths WHERE Wantlib.FULLPKGPATH=Paths.FULLPKGPATH ORDER BY PKGPATH
2006-08-01 16:22:22 +00:00
espie
80448819a5 Handle CONFIGURE_ARGS as a list, e.g.,
SELECT DISTINCT VALUE FROM ConfigureArgs
makes sense.
2006-07-10 14:34:01 +00:00
espie
64feab316c Really process SHARED_LIBS 2006-07-10 11:44:30 +00:00
espie
2e019b5e25 package the database built from ports for any user. 2006-07-10 10:57:59 +00:00