[103025] trunk/dports/devel/ncurses
jmr at macports.org
jmr at macports.org
Mon Feb 11 23:04:23 PST 2013
Revision: 103025
https://trac.macports.org/changeset/103025
Author: jmr at macports.org
Date: 2013-02-11 23:04:23 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
ncurses: fix installation of .pc files (#37420), enable hardlinks
Modified Paths:
--------------
trunk/dports/devel/ncurses/Portfile
Added Paths:
-----------
trunk/dports/devel/ncurses/files/pkg_config_libdir.diff
Modified: trunk/dports/devel/ncurses/Portfile
===================================================================
--- trunk/dports/devel/ncurses/Portfile 2013-02-12 07:04:00 UTC (rev 103024)
+++ trunk/dports/devel/ncurses/Portfile 2013-02-12 07:04:23 UTC (rev 103025)
@@ -4,7 +4,7 @@
name ncurses
version 5.9
-revision 1
+revision 2
categories devel
platforms darwin freebsd
license MIT
@@ -26,7 +26,7 @@
# from http://www.opensource.apple.com/source/ncurses/ncurses-27/patches/
patchfiles hex.diff ungetch_guard.diff configure.diff \
- constructor_types.diff
+ constructor_types.diff pkg_config_libdir.diff
configure.cppflags
configure.ldflags
@@ -40,9 +40,7 @@
--mandir=${prefix}/share/man \
--with-manpage-format=normal \
--enable-pc-files \
- --enable-symlinks \
--disable-mixed-case
-# using symlinks because of ticket #13601
if {[variant_isset universal]} {
configure.args-append --with-chtype=int
Added: trunk/dports/devel/ncurses/files/pkg_config_libdir.diff
===================================================================
--- trunk/dports/devel/ncurses/files/pkg_config_libdir.diff (rev 0)
+++ trunk/dports/devel/ncurses/files/pkg_config_libdir.diff 2013-02-12 07:04:23 UTC (rev 103025)
@@ -0,0 +1,11 @@
+--- configure.orig 2013-02-12 17:23:04.000000000 +1100
++++ configure 2013-02-12 17:27:05.000000000 +1100
+@@ -3626,7 +3626,7 @@
+ PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`/lib/pkgconfig
+ fi
+ PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
+- if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
++ if test -n "$PKG_CONFIG_LIBDIR" ; then
+
+ # Check whether --enable-pc-files or --disable-pc-files was given.
+ if test "${enable_pc_files+set}" = set; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130211/6908c792/attachment-0001.html>
More information about the macports-changes
mailing list