aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2013-06-08 13:58:44 +0800
committerrafan <rafan@FreeBSD.org>2013-06-08 13:58:44 +0800
commit7f176f72c7a2cccae15729ebe2c03262302ced59 (patch)
treefca47bf887abee5468a67f0f5ca82fd08d21f950 /devel
parent374d364a64ba5131457058b02e88386dd6c16fb0 (diff)
downloadfreebsd-ports-gnome-7f176f72c7a2cccae15729ebe2c03262302ced59.tar.gz
freebsd-ports-gnome-7f176f72c7a2cccae15729ebe2c03262302ced59.tar.zst
freebsd-ports-gnome-7f176f72c7a2cccae15729ebe2c03262302ced59.zip
- Install pkg-config files to support static linking
- Bump PORTREVISION PR: ports/179005, ports/160695
Diffstat (limited to 'devel')
-rw-r--r--devel/ncurses/Makefile8
-rw-r--r--devel/ncurses/pkg-plist22
2 files changed, 27 insertions, 3 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index c1552e2df9b9..bee73a527fef 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ncurses
PORTVERSION= ${RELEASE}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,7 +21,7 @@ CONFIGURE_SCRIPT=../configure
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
--enable-termcap --enable-bsdpad --enable-getcap \
--enable-colorfgbg --disable-home-terminfo \
- --with-pkg-config=no \
+ --with-pkg-config=yes --enable-pc-files \
--includedir=${PREFIX}/include/ncurses \
--with-shared \
--without-curses-h --with-termlib --program-prefix= \
@@ -33,9 +33,11 @@ OPTIONS_DEFINE= EXTCOLORS TRACE DEBUG
EXTCOLORS_DESC= 256-color support (only for ncursesw)
TRACE_DESC= Add trace() function to all models of ncurses
-CONFIGURE_ENV= gnat_exists="no"
+CONFIGURE_ENV= PKG_CONFIG_LIBDIR=${LOCALBASE}/libdata/pkgconfig \
+ gnat_exists="no"
USE_LDCONFIG= yes
+USE_GNOME= pkgconfig
WIDEC_WRKSRC= ${WRKSRC}/build.widec
NOWIDEC_WRKSRC= ${WRKSRC}/build.nowidec
diff --git a/devel/ncurses/pkg-plist b/devel/ncurses/pkg-plist
index 1eed72295c4e..3f80a04c2b30 100644
--- a/devel/ncurses/pkg-plist
+++ b/devel/ncurses/pkg-plist
@@ -91,6 +91,28 @@ lib/libtinfo.so.%%REL_VER%%
%%WIDEC%%lib/libtinfow.so.%%REL_VER_WIDEC%%
%%WIDEC%%%%DEBUG%%lib/libtinfow_g.a
%%WIDEC%%%%PROFILE%%lib/libtinfow_p.a
+libdata/pkgconfig/form.pc
+%%DEBUG%%libdata/pkgconfig/form_g.pc
+%%PROFILE%%libdata/pkgconfig/form_p.pc
+%%WIDEC%%libdata/pkgconfig/formw.pc
+libdata/pkgconfig/menu.pc
+%%DEBUG%%libdata/pkgconfig/menu_g.pc
+%%PROFILE%%libdata/pkgconfig/menu_p.pc
+%%WIDEC%%libdata/pkgconfig/menuw.pc
+libdata/pkgconfig/ncurses++.pc
+%%WIDEC%%libdata/pkgconfig/ncurses++w.pc
+libdata/pkgconfig/ncurses.pc
+%%DEBUG%%libdata/pkgconfig/ncurses_g.pc
+%%PROFILE%%libdata/pkgconfig/ncurses_p.pc
+%%WIDEC%%libdata/pkgconfig/ncursesw.pc
+libdata/pkgconfig/panel.pc
+%%DEBUG%%libdata/pkgconfig/panel_g.pc
+%%PROFILE%%libdata/pkgconfig/panel_p.pc
+%%WIDEC%%libdata/pkgconfig/panelw.pc
+libdata/pkgconfig/tinfo.pc
+%%DEBUG%%libdata/pkgconfig/tinfo_g.pc
+%%PROFILE%%libdata/pkgconfig/tinfo_p.pc
+%%WIDEC%%libdata/pkgconfig/tinfow.pc
%%TERMINFO%%share/misc/tabset/std
%%TERMINFO%%share/misc/tabset/stdcrt
%%TERMINFO%%share/misc/tabset/vt100