11 Commits

Author SHA1 Message Date
zhuk
12625bcdea Handle lib/foo/bar and MOD* variable (un)expanding better. 2015-04-28 14:11:03 +00:00
zhuk
074d37fcb8 Another helper routine that I don't want to add back and forth each commit. 2015-04-28 14:10:18 +00:00
zhuk
8a02908944 Extract common code for taking "stem" of WANTLIB item, and add support
for lib/foo/bar syntax.
2015-04-26 19:17:37 +00:00
zhuk
9a3abc4aca Add WANTLIB tweaking functionality (options -l, -W and -w).
Initially requested, tested and many input from sthen@, who also suggested
to continue this work in-tree.
2015-04-26 12:22:49 +00:00
zhuk
fb64f1df0c Switch from Getopt::Std to OpenBSD::Getopt. No functional change for now,
except error message text in case of unsupported option being used.

Will be needed soon by upcoming changes.
2015-04-18 18:59:48 +00:00
zhuk
a5f6f0b203 Improve SHARED_LIBS handling a bit:
- Give better warning in case of unusual SHARED_LIBS line;
 - Don't warn at all if shared libs bumping wasn't requested;
 - Handle (rare) SHARED_LIBS-foo case, see x11/qt5 for a legitimate case.
2015-01-07 20:46:35 +00:00
zhuk
4efe72d480 Sometimes you need a pause for a month or two to find one-liner for the
problem you thought is too complex.

Allow simple "-subpkg" to be used instead of ugly ",-subpkg" for portbump.
2014-09-30 16:56:21 +00:00
zhuk
11980a23e7 The sort(1) is more clever than me. 2014-07-25 12:03:44 +00:00
zhuk
473d7c6106 Print understandable error in case we didn't find where to place new
REVISION mark instead of cryptic Perl warnings.
2014-07-25 12:03:14 +00:00
zhuk
be50614909 Expand list of "trigger" variables in portbump. Fixes running portbump
under x11/gnome as seen by ajacoutot@.
2014-07-25 11:40:53 +00:00
zhuk
1eb8b10145 Introduce portbump(1): one more tool in a Real Porter's collection.
Now, in conjuction with sqlports package, you can bump a bunch of ports
in a few minutes (including time for manual verification).

Idea supported and input given at different time by sthen@, afresh1@,
espie@, ajacoutot@ and others.

Tests to follow.
2014-07-12 19:34:08 +00:00