diff options
author | vd <vd@FreeBSD.org> | 2011-01-21 17:36:27 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2011-01-21 17:36:27 +0800 |
commit | 601952aefc78eabbaed8c021bcb6ae9b978cbbce (patch) | |
tree | 6ef620f68373c2a4bf8d78a9f8ad53f27b453fba /graphics | |
parent | 9ac4fac4a42967b517bd124b62f0fd3b8d79ec5c (diff) | |
download | freebsd-ports-gnome-601952aefc78eabbaed8c021bcb6ae9b978cbbce.tar.gz freebsd-ports-gnome-601952aefc78eabbaed8c021bcb6ae9b978cbbce.tar.zst freebsd-ports-gnome-601952aefc78eabbaed8c021bcb6ae9b978cbbce.zip |
Fix graphics/libpano13 pkg-plist
Install libpano13.pc in libdata/pkgconfig instead of lib/pkgconfig
pkg-config finds the .pc file in either location but I change it to be
consistent with the majority of FreeBSD ports. Also libdata/pkgconfig
does not need to be removed by the port itself upon deinstallation.
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libpano13/Makefile | 3 | ||||
-rw-r--r-- | graphics/libpano13/files/patch-Makefile.am | 13 | ||||
-rw-r--r-- | graphics/libpano13/pkg-plist | 2 |
3 files changed, 13 insertions, 5 deletions
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 2f8b846a1f30..1db84c326ada 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -7,6 +7,7 @@ PORTNAME= libpano13 PORTVERSION= 2.9.17 +PORTREVISION= 1 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -17,8 +18,6 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff -BROKEN= incomplete plist (and installs .pc file to lib/pkg-config) - USE_GNOME= gtk20 glib20 pango atk USE_AUTOTOOLS= autoconf:env autoheader:env aclocal:env \ diff --git a/graphics/libpano13/files/patch-Makefile.am b/graphics/libpano13/files/patch-Makefile.am index 4f4b5c519c94..fb3b8379674d 100644 --- a/graphics/libpano13/files/patch-Makefile.am +++ b/graphics/libpano13/files/patch-Makefile.am @@ -1,5 +1,5 @@ ---- Makefile.am.orig 2011-01-09 21:47:05.000000000 +0200 -+++ Makefile.am 2011-01-09 21:47:19.000000000 +0200 +--- Makefile.am.orig 2010-07-25 00:16:56.000000000 +0300 ++++ Makefile.am 2011-01-21 11:25:52.000000000 +0200 @@ -91,13 +91,23 @@ endif @@ -27,3 +27,12 @@ libpano13_la_DEPENDENCIES = @PANO_WIN32_RESOURCE@ pkginclude_HEADERS = $(STD_HDR) $(TOOL_HDR) +@@ -105,7 +115,7 @@ + noinst_HEADERS = $(INTERNAL_HDR) $(SYS_HDR) $(MAC_HDR) + + # Pkg-config script. +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(exec_prefix)/libdata/pkgconfig + pkgconfig_DATA = libpano13.pc + DISTCLEANFILES = $(pkgconfig_DATA) + diff --git a/graphics/libpano13/pkg-plist b/graphics/libpano13/pkg-plist index 5056f2f0a7d2..69e348703b14 100644 --- a/graphics/libpano13/pkg-plist +++ b/graphics/libpano13/pkg-plist @@ -23,5 +23,5 @@ include/pano13/version.h lib/libpano13.la lib/libpano13.so lib/libpano13.so.2 -lib/pkgconfig/libpano13.pc +libdata/pkgconfig/libpano13.pc @dirrm include/pano13 |