diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2006-12-02 10:48:04 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2006-12-02 10:48:04 +0000 |
commit | 433c6f31041577f8eed12173999d5cd2c429e9e7 (patch) | |
tree | a1761722b1249c9bc19576914edef857900db55a /usr.sbin/pkg_add/OpenBSD | |
parent | 869197d00ec49c5be35de15455a6c70df499b418 (diff) |
allows us to mark *.pc files as PkgConfig.
This will be useful for some `normalization' work (remove ports directory,
and replace /usr/local with DEPBASE or some such, so that building without
installation works).
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index ec4bf2c66e9..d68e8ddbad1 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.84 2006/11/17 15:34:15 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.85 2006/12/02 10:48:03 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -435,6 +435,12 @@ sub ensure_ldconfig } } +package OpenBSD::PackingElement::PkgConfig; +our @ISA=qw(OpenBSD::PackingElement::FileBase); + +__PACKAGE__->setKeyword('pkgconfig'); +sub keyword() { "pkgconfig" } + package OpenBSD::PackingElement::Ignore; our @ISA=qw(OpenBSD::PackingElement::Annotation); __PACKAGE__->setKeyword('ignore'); |