Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/external/bsd/bsd-pkg-config



Module Name:    othersrc
Committed By:   agc
Date:           Tue Aug 14 06:45:31 UTC 2012

Update of /cvsroot/othersrc/external/bsd/bsd-pkg-config
In directory ivanova.netbsd.org:/tmp/cvs-serv14456

Log Message:
Dust off my old bsd-pkg-config script and commit it to othersrc.

Seems to do most of the things that other pkg-config scripts do, albeit
in 150 grungy lines of shell, so I must be missing something.

Some quick examples:

% bsd-pkg-config --libs-only-l libtiff-4
-ltiff 
% bsd-pkg-config --libs-only-L libtiff-4 
-L/usr/pkg/lib
% bsd-pkg-config --libs libtiff-4
 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltiff
% bsd-pkg-config --libs 'apr-1 >= 1.4.5'
 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread
% bsd-pkg-config --modversion 'apr-1 >= 1.4.5'
 1.4.5
% bsd-pkg-config --variable=prefix apr-1
/usr/pkg
% bsd-pkg-config --exists 'apr-1 >= 1.4.4' && echo found
found
%

and the regression tests:

% make t
cd bin && make t
./tst
cflags
good

libs
good

libs-only-L
good

libs-only-l
good

libs-only-other
good

modversion
good

static
pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread  
bsd-pkg-config:  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread

variable
good

version comparisons
pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread  
bsd-pkg-config:  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread
%

i.e. whitespace differences only


Status:

Vendor Tag:     CROOKS
Release Tags:   bsd-pkg-config-base
                
N othersrc/external/bsd/bsd-pkg-config/Makefile
N othersrc/external/bsd/bsd-pkg-config/bin/Makefile
N othersrc/external/bsd/bsd-pkg-config/bin/tst
N othersrc/external/bsd/bsd-pkg-config/dist/bsd-pkg-config.sh
N othersrc/external/bsd/bsd-pkg-config/dist/bsd-pkg-config.1

No conflicts created by this import




Home | Main Index | Thread Index | Old Index