ports/154902: [patch] Port devel/libedit: added libedit.pc for gnome-config to be able to find it
Yuri
yuri at tsoft.com
Sun Feb 20 08:00:24 UTC 2011
>Number: 154902
>Category: ports
>Synopsis: [patch] Port devel/libedit: added libedit.pc for gnome-config to be able to find it
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 20 08:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Yuri
>Release: 8.1-STABLE amd64
>Organization:
n/a
>Environment:
>Description:
Added libedit.pc to unmaintained port devel/libedit for gnome-config to be able to find it
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN Makefile.orig Makefile
--- Makefile.orig 2011-02-19 23:38:44.000000000 -0800
+++ Makefile 2011-02-19 23:44:07.000000000 -0800
@@ -7,7 +7,7 @@
PORTNAME= libedit
PORTVERSION= 2.6.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.astron.com/pub/libedit/ \
http://www.canonware.com/download/libedit/
diff -ruN files/patch-libedit.pc.orig files/patch-libedit.pc
--- files/patch-libedit.pc.orig 1969-12-31 16:00:00.000000000 -0800
+++ files/patch-libedit.pc 2011-02-19 23:43:52.000000000 -0800
@@ -0,0 +1,14 @@
+--- libdata/pkgconfig/libedit.pc.orig 1969-12-31 16:00:00.000000000 -0800
++++ libdata/pkgconfig/libedit.pc 2011-02-19 23:40:01.000000000 -0800
+@@ -0,0 +1,11 @@
++prefix=/usr/local
++exec_prefix=${prefix}
++libdir=${exec_prefix}/lib
++includedir=${prefix}/include
++
++Name: libedit
++Description: Not just a replacement library for libreadline and libhistory.
++Version: 2.11
++Libs: -L${libdir} -ledit -lcurses
++Libs.private:
++Cflags: -I${includedir}
diff -ruN pkg-plist.orig pkg-plist
--- pkg-plist.orig 2011-02-19 23:38:44.000000000 -0800
+++ pkg-plist 2011-02-19 23:44:30.000000000 -0800
@@ -4,4 +4,5 @@
lib/libedit.a
lib/libedit.so.6
lib/libedit.so
+libdata/pkgconfig/libedit.pc
@dirrm include/editline
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list