Commit Graph

42 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
ajacoutot
3041b2373b Remove obsolete USE_X11 from $vars. 2010-10-24 20:44:50 +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
4980cdd108 whitespace 2010-04-26 10:20:50 +00:00
espie
4b373c4bed get ready to coalesce columns 2010-04-26 10:19:02 +00:00
espie
a1dfe5c95e minor tweaks + whitespace 2010-04-26 08:52:09 +00:00
espie
ec4d709da9 view_schema always follows the same format, so just do that... 2010-04-25 12:35:26 +00:00
espie
7aaef79d35 fix, should build correctly even if SUBDIR is defined 2010-04-19 09:21:31 +00:00
espie
484343e39c simplify mapping slightly for now... 2010-04-17 14:48:15 +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
9bc804c209 sanitize code, no functional changes 2010-04-17 09:33:18 +00:00
espie
69bff73010 rename stuff to try to make it clearer. 2010-04-13 10:56:42 +00:00
espie
309f80f5b3 cut script into smaller pieces, since it becomes hard to manage 2010-04-13 10:23:53 +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
40493db049 oops 2009-08-25 09:23:03 +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
791d753ead make internals more consistent 2009-08-16 03:24:28 +00:00
espie
c66ef3ab79 start building the _Ports view. 2009-08-15 12:43:58 +00:00
espie
e38f1a0ab8 consistent capitalization 2009-08-14 14:02:11 +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
7fee9245be fixes some inheritance issues. Problem noticed by bernd@ 2008-10-26 23:42:24 +00:00
espie
8ef4a31d6f recognize more wrong depends errors 2008-10-26 15:12:30 +00:00
espie
3e33ca8732 style nitpick, no functional changes 2008-08-20 21:02:47 +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