ports/182511: print/pslib: fix includedir in libps.pc
Thierry Thomas
thierry at FreeBSD.org
Mon Sep 30 12:00:01 UTC 2013
>Number: 182511
>Category: ports
>Synopsis: print/pslib: fix includedir in libps.pc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 30 12:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 9.2-BETA2 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253984: Tue Aug 6 19:35:52 CEST 2013 thierry at graf.pompo.net:/usr/obj/usr/src/sys/GRAF130324 i386
>Description:
This port installs libps.pc with an icorrect includedir,
and then programs depending on pkg-config won't find it.
Bumps PORTREVISION.
Note: since I were here, pet portlint with gmake.
>How-To-Repeat:
cat /usr/local/libdata/pkgconfig/libps.pc
>Fix:
Please apply the hereunder patch.
--- patch-pslib begins here ---
diff -urN print/pslib.orig/Makefile print/pslib/Makefile
--- print/pslib.orig/Makefile 2013-09-21 18:09:08.000000000 +0200
+++ print/pslib/Makefile 2013-09-30 11:54:09.000000000 +0200
@@ -3,7 +3,7 @@
PORTNAME= pslib
PORTVERSION= 0.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= SF
@@ -14,9 +14,8 @@
png15:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext gmake
USE_GNOME= intlhack
-USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
diff -urN print/pslib.orig/files/patch-libps.pc.in print/pslib/files/patch-libps.pc.in
--- print/pslib.orig/files/patch-libps.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ print/pslib/files/patch-libps.pc.in 2013-09-30 12:04:20.000000000 +0200
@@ -0,0 +1,11 @@
+--- libps.pc.in.orig 2007-07-12 13:49:32.000000000 +0200
++++ libps.pc.in 2013-09-30 11:53:24.000000000 +0200
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=@includedir@
++includedir=@includedir@/@PACKAGE@
+
+ Name: libps
+ Description: A library for creating PostScript files
--- patch-pslib ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list