From 433c6f31041577f8eed12173999d5cd2c429e9e7 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 2 Dec 2006 10:48:04 +0000 Subject: 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). --- usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 # @@ -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'); -- cgit v1.2.3