Commit Graph

504 Commits (f1a0047adee20312529802840d9b5163ef55515b)

Author SHA1 Message Date
William Pitcock f1a0047ade Merge pull request #71 from Alexpux/master
Fix expanding PKG_DEFAULT_PATH under Windows.
2014-08-14 22:16:29 -05:00
Alexpux 39e3fc1c46 Fix expanding PKG_DEFAULT_PATH under Windows. 2014-08-08 13:19:34 +04:00
Jean-Sébastien Pédron bff5f15d0a Support .pc file without a trailing newline
Some editors write text files without a newline character at the end of
the last line.

Before this change, the main loop in pkg_new_from_file() expected a
newline character at the end of the line and overwrote it with a NUL
character. In the case of the last line in a non-newline-terminated
file, this ate the last character of that line.

Now, the pkg_fgetline() function takes care of returning a line without
the newline character (or the "\r\n" sequence in case of a DOS file
format).
2014-08-02 14:07:25 +02:00
William Pitcock f8040e7f65 README: update to where we are at in 2014 2014-07-09 02:25:01 -05:00
William Pitcock 3d98bd7ff6 main: do not munge variables which already contain sysroot_dir in their output (maybe related to #69) 2014-07-09 02:00:13 -05:00
William Pitcock 12ff14f856 fragments: handle sysroot dir munging directly in a smarter way
Previously we just let the tuple system handle it, but pkg-config modules which do not define
variables were able to get by the checks.  While here, check to ensure we do not duplicate the
sysroot dir twice if it is already defined in the pkg-config module file.

Downstream bug: https://bugs.busybox.net/show_bug.cgi?id=5750
2014-07-09 01:23:51 -05:00
William Pitcock 84050f8fda tuple: fix swallowing $ (closes #67) 2014-07-01 23:44:49 -05:00
William Pitcock 0161be992e bsdstubs: add strtok_r() from musl if unavailable on a platform (closes #66) 2014-07-01 23:39:22 -05:00
William Pitcock c80229c646 tests: add test for #67 2014-07-01 23:30:59 -05:00
William Pitcock 0c0c50671e pkgconf 0.9.6. 2014-06-07 20:32:08 +00:00
William Pitcock d2d52b3278 main: allow --debug as an option (has no effect) (closes #64) 2014-06-07 20:30:36 +00:00
William Pitcock d33b7de5d2 build: disable -D_FORTIFY_SOURCE=2 (let distros use it themselves) (closes #61) 2014-06-07 20:22:48 +00:00
William Pitcock 50b647c92f main: avoid memory leak 2014-06-07 20:19:51 +00:00
William Pitcock 912d1d9013 main: fix --with-system-includedir and --with-system-libdir behaviour (closes #63) 2014-06-07 20:11:06 +00:00
William Pitcock 1f1feb0022 Merge pull request #62 from vbraun/master
Do not hardcode "install"
2014-03-23 00:38:52 -05:00
Volker Braun f445dfd32f make install-sh executable 2014-02-28 16:15:41 +01:00
Volker Braun f5730b487f Do not hardcode the non-posix install program 2014-02-28 15:04:11 +01:00
William Pitcock d6121d12b8 pkgconf 0.9.5. 2014-02-11 00:01:36 +00:00
William Pitcock 9f94461b7a pkg: make fields other than CFLAGS and LIBS case-sensitive (closes #60) 2014-02-10 23:57:50 +00:00
William Pitcock 8f36c545d1 tuple: make variable lookup case sensitive (ref #60) 2014-02-10 23:53:47 +00:00
William Pitcock 8cf58d7ceb tests: add test for variable case-sensitivity (ref #60) 2014-02-10 23:50:45 +00:00
William Pitcock cd6d52b965 testsuite: fix erroneous test to match bugfix 2013-12-27 11:47:40 +00:00
William Pitcock 888bd00ca2 pkgconf 0.9.4. 2013-12-27 11:44:59 +00:00
William Pitcock 8cdf61b455 Extend copyright on recently modified files to 2014. 2013-12-27 11:41:23 +00:00
William Pitcock 2e0e4b2ece fragment: increase robustness with MacOS -framework (closes #56) 2013-12-27 11:37:24 +00:00
Dan Kegel 49ad1cd8f1 Add test for multiple frameworks (ref #56) 2013-12-27 11:20:41 +00:00
William Pitcock e0789ca650 Add pkgconf(1) manual page. (closes #55) 2013-12-27 11:13:55 +00:00
William Pitcock f35a9b7425 README: document --with-system-includedir and --with-system-libdir (closes #57) 2013-10-06 12:34:09 +00:00
William Pitcock 2ae72283fc Merge pull request #53 from tonytheodore/keep-system-libs
Test failure with default prefix and parsing of keep-system-* args
2013-08-24 11:17:15 -07:00
William Pitcock 99c41040f6 Merge pull request #52 from tonytheodore/multiple-deps
Add test for multiple dependencies on base package
2013-08-24 11:16:26 -07:00
Tony Theodore bc661124da fix keep-system-* arg parsing and test with default prefix 2013-08-24 15:19:41 +10:00
Tony Theodore dd975df1cb Add test for multiple dependencies on base package 2013-08-24 13:58:41 +10:00
William Pitcock 36827a3204 pkgconf 0.9.3. 2013-08-23 04:08:06 +00:00
William Pitcock 501d7dc25f main: update copyright years 2013-08-23 04:04:16 +00:00
William Pitcock 9d960fb9d4 fragment: use forward-merge for static linking (closes #51) 2013-08-23 03:44:33 +00:00
William Pitcock 2a638d4f32 Add test for Libs.private deduplication (issue #51). 2013-08-23 02:41:59 +00:00
William Pitcock da179fd8cf Merge pull request #50 from tonytheodore/master
Feature Request: Add Cflags.private fragment
2013-08-18 20:19:36 -07:00
Tony Theodore 1c658f0383 add Cflags.private fragment 2013-08-14 15:36:43 +10:00
William Pitcock 595e0965b2 getopt: document what is different about our getopt verses normal netbsd getopt_long. 2013-07-22 01:08:38 -05:00
William Pitcock fe8186aa8f Merge pull request #48 from wojdyr/master
support out-of-source build
2013-07-17 18:18:53 -07:00
Marcin Wojdyr a56d5c52db Makefile.in: support out-of-source build 2013-06-29 17:18:07 +01:00
William Pitcock 6db657c5ec testsuite: fix testsuite typos 2013-04-09 07:39:27 -05:00
William Pitcock cd0f7fec1d pkgconf 0.9.2 2013-04-09 07:35:02 -05:00
Baptiste Daroussin 83877eb2f7 Do not ignore PKG_CONFIG_PATH if a direct path to a .pc file is supplied 2013-03-20 17:52:17 +01:00
Baptiste Daroussin 1d0f990afa Add a test case showing a regression where PKG_CONFIG_PATH is ignored 2013-03-20 14:51:15 +01:00
Baptiste Daroussin 24207bd1d6 Do not overwrite eflags with walking though a long list of packages 2013-03-17 23:45:51 +01:00
Baptiste Daroussin 1178ab257d Add a test case about a regression 2013-03-17 23:15:33 +01:00
William Pitcock c17ab79a23 pkgconf 0.9.1 2013-03-15 20:19:13 -05:00
William Pitcock 994f1eb769 tests: fix last test 2013-03-15 20:18:45 -05:00
Baptiste Daroussin ce1fd58aa6 Add a test case for pkgconf --exists --print-errors "mjpegtools > 1.6.0 mjpegtools < 1.8.0" 2013-03-16 02:11:30 +01:00