1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

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
This commit is contained in:
Vasil Dimov 2011-01-21 09:36:27 +00:00
parent d1c61979ea
commit a69ed1bcb6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268082
3 changed files with 13 additions and 5 deletions

View File

@ -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 \

View File

@ -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)

View File

@ -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