Commit Graph

76 Commits

Author SHA1 Message Date
espie
41d3fc886a move $heuristics into $state 2011-04-24 08:34:05 +00:00
espie
69684267b3 get options to parse 2011-04-24 08:07:02 +00:00
espie
2ad5e5806c refactor options slightly 2011-04-24 08:02:07 +00:00
espie
66650886f9 okay, we're dpb and no longer dpb3 2011-04-18 14:00:57 +00:00
espie
b5b62e9c6b if we don't have rights to write into lockdir, it's generally bad news, avoid
getting stuck.

work with Stefan Rinkes.
2011-04-13 08:37:16 +00:00
espie
1c93a7f734 auto-complete build dir with arch and build.log 2011-04-05 08:23:00 +00:00
espie
46fd3f5a96 use FindBin if the portsdir was moved.
fix error message
2011-03-07 10:06:36 +00:00
jasper
872d49a562 - Use full path to ldconfig
- Adjust error message
      ok steven@
2011-03-02 08:06:33 +00:00
ajacoutot
223ba194c4 Brought to you by the king of slack!
Manually removing TABs is an exhausting job, so make the analyse
function output compatible for copy/paste into a port Makefile.

"yes yes yes" sthen@
ok landry@ espie@
2011-01-26 12:53:46 +00:00
espie
8865e138dc have check-common-dirs find dependencies not specified on the command line
if it can.
2011-01-17 20:08:08 +00:00
espie
e982ee096f print everything thru $state 2011-01-11 11:25:53 +00:00
espie
26982225cb move this too 2011-01-11 11:24:05 +00:00
espie
34f55e5a2e check that the package name itself does not go backwards as well 2010-12-29 12:33:38 +00:00
espie
2d255d213d small hack to make these work even if PORTSDIR is not set and non-standard,
since the lib are supposed to be in the same relative location.
2010-12-29 12:28:23 +00:00
espie
f0e0a9480c pass state around 2010-12-24 10:31:40 +00:00
espie
b87d7dd53f put stuff in separate modules 2010-12-07 08:46:28 +00:00
espie
3f9f91390c teach register-plist that pkgspec-version is equivalent to pkgspec-=version 2010-11-26 07:17:10 +00:00
espie
c401210b5d allow register-plist to do a quickie on print-plist 2010-11-07 00:01:40 +00:00
steven
8f06d3f7fd make die messages a bit more consistent 2010-11-01 13:40:36 +00:00
steven
63596c6ac2 give Program its own install sub as well 2010-11-01 13:26:41 +00:00
steven
72dd1c9832 zap unused variable 2010-11-01 13:05:57 +00:00
steven
89d04d4736 simplify sequence of events a bit in the install subroutine 2010-11-01 13:05:13 +00:00
steven
c5236210fe factor code to install .la file and associated files into its own sub 2010-11-01 12:48:15 +00:00
espie
a6fdaa4a74 do -d automatically, we don't really need that option 2010-11-01 12:24:47 +00:00
espie
8a26786deb new file/option: save dependencies and be able to reuse them.
makes for a "quick listing" of the most important ports first (e.g., groff).
document -R, even though it's not perfect yet.
flesh out all the recent parts and update the BUGS AND LIMITATIONS section.
2010-10-31 11:07:20 +00:00
espie
f072ab3a17 proof-of-concept implementation of -R (rebuild when signature changes).
Somewhat inefficient (deep check of package vs port signature).
More proper approach would be to tell the engine to always build, have first
step be a check for signature if the package exist, and abort if it matches:
- here we double check everything
- propagating rebuilds means non-uptodate packages give rise to non uptodate.
2010-10-30 11:19:38 +00:00
espie
10e6cc104f engine improvements:
- if several cores are available, recheck errors, so that we're not stuck
waiting for a core to finish to start new shit.
- $logdir/stop-<machine_name> allows you to stop a given machine while
you clean it up and (possibly) restart it (e.g., won't start new jobs)
2010-10-29 11:51:42 +00:00
espie
2f5fa40549 big fucking hack to the FULLPKGNAME\- problem, until I clean it up for real... 2010-10-29 10:22:14 +00:00
steven
f7e4458115 move mkdir out of if block so we avoid an error when it tries to write an
objectlist in there
2010-10-28 23:50:15 +00:00
steven
2e37db56d1 check that we really have pic objects to pass, otherwise fall back to nonpic.
this is a quick fix, to be done a bit cleaner later.
2010-10-28 23:48:40 +00:00
steven
e1202b625d undo revert 2010-10-28 23:45:59 +00:00
jasper
df430ae277 - revert libtool to -r1.16, as -r1.17 breaks at least dynamips, lftp and
silc-server.

found by landry@ and myself the hardway

ok sthen@ espie@
2010-10-28 22:19:03 +00:00
espie
1c010712c9 keep the output from dump-vars around, and save it in the logfile is
something bad happens.

get rid of special reporter for Vars, E= is enough, people should look
in the paths/logfile now.
2010-10-28 14:54:38 +00:00
steven
233c853561 strip static libraries with --strip-debug
seems to fix databased/db library
2010-10-28 09:08:27 +00:00
steven
d067b2c283 some cleanup 2010-10-27 23:42:49 +00:00
steven
6de5af54a3 behave more like gnu by not using pic objects for a static library. 2010-10-27 23:41:27 +00:00
espie
309af926e4 kill more code related to P= (will simplify next parts) 2010-10-27 22:53:32 +00:00
steven
08de79dc77 make ltprog a list of elements without whitespace.
this should prevent exec errors later on.

fixes telepathy-glib, noticed by landry@
2010-10-27 17:37:55 +00:00
steven
dda823ac11 create an executable wrapper only if we encounter not-installed shared libs
(still based on .la file content)

this fixes at least fix www/wml and maybe some others
2010-10-27 12:43:41 +00:00
steven
e0fd79dc30 this can never have worked for real...
change .a -> .la
in case we ever run into this particular case
2010-10-27 11:03:17 +00:00
steven
27f392bd95 do not pass libtool's -static option to the linker
instead do what it is supposed to do: not dynamically linking with
not-installed libtool libraries

openldap linking incorrectness pointed out by pea@

this might fix some other stuff as well
2010-10-27 09:05:30 +00:00
espie
7933e75f03 make -p optional 2010-10-27 09:04:37 +00:00
espie
d297996843 fix system for new interface 2010-10-26 21:56:40 +00:00
espie
1fecde2518 rework PkgPath to distinguish between empty and default flavors...
turns out we probably don't need FULLSUBDIR after all.
compute SUBDIR better, possibly with quotes.
Remove trailing / on subdirs, in case people use completion.
2010-10-26 15:45:09 +00:00
espie
663157b0c7 add an option for dpb to keep going if there are errors left.
there's a bug in the display (to be fixed) as errors won't show properly
and you have to look manually though...
2010-10-24 10:01:57 +00:00
steven
354a48eda4 do not write modules in shared_libs.log
noticed by ajacoutot@
2010-09-28 18:52:36 +00:00
steven
1e8a0905a2 - when writing a program wrapper, use the correct path
a/path/to/.libs/foo instead of .libs/a/path/to/foo
- make sure the symlinks pointing to the library are also in this path

problem spotted by naddy in net/gnet regression tests
2010-09-28 18:42:17 +00:00
steven
9098b5f565 drop relative -L paths from dependency_libs before installing the .la file. 2010-09-25 17:14:48 +00:00
steven
3ae0723a0e drop libraries from deplibs which we are not going to install.
this should fix exiv2.
2010-09-25 16:58:52 +00:00
steven
44e0bdbcd7 also add -lfoo arguments to deplibs if there is no key yet for this library,
because the key may be set in a recursion step, but we only add to deplibs
at level 0.
this seems to produce more correct deplibs.
first step to fix kde/bindings.
2010-09-25 15:20:04 +00:00