freebsd-ports/comms/gfax/files/patch-configure
Jeremy Messenger 37ce70f789 - Update the comment.
- Remove the ${BUILD_DEPENDS} in RUN_DEPENDS, because it causes gmake, libtool
  and few others become as runtime dependency, which they are just need to be
  in the build dependency.
- Correct a typo, gfax.schema -> gfax.schemas.
- Fix the installation.
- Fix the plist.
- Bump the PORTREVISION.

BSD# - Project by:	http://www.mono-project.com/Mono:FreeBSD
2005-07-10 21:46:05 +00:00

13 lines
584 B
Text

--- configure.orig Mon Feb 28 17:13:10 2005
+++ configure Tue Jun 14 21:58:56 2005
@@ -21024,8 +21024,8 @@
# SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR
if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then
- gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint`
- GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '`
+ gpver=`pkg-config --list-all|grep libgnomeprint- | cut -f1 -d' '`
+ GNOME_PRINT_VERSION=`pkg-config --modversion ${gpver}`
GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}"
echo $GNOME_PRINT_DATA_DIR
fi