summaryrefslogtreecommitdiff
path: root/net-im/libyahoo2
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-19 00:20:42 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-19 00:20:42 +0000
commitba8df2c25601c875266bd609da55a6fa17ff40f0 (patch)
tree6aa5797c884bb4f14a77c9cdfc6c97b056dde393 /net-im/libyahoo2
parent- install .pc file to the correct place (diff)
- use pkg-config and install .pc file to the correct spot
- sort pkg-plist correctly - bump PORTREVISION PR: 52139 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=81311
Diffstat (limited to 'net-im/libyahoo2')
-rw-r--r--net-im/libyahoo2/Makefile8
-rw-r--r--net-im/libyahoo2/files/patch-ltmain.sh14
-rw-r--r--net-im/libyahoo2/pkg-plist4
3 files changed, 11 insertions, 15 deletions
diff --git a/net-im/libyahoo2/Makefile b/net-im/libyahoo2/Makefile
index de57ea50f7df..8b3310ec70b0 100644
--- a/net-im/libyahoo2/Makefile
+++ b/net-im/libyahoo2/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libyahoo2
PORTVERSION= 0.6.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,8 +16,11 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C library that handles the new Yahoo! Messenger protocol
-USE_GNOME= glib20
-USE_LIBTOOL= yes
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
+USE_GNOME= gnomehack glib20
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.mk>
diff --git a/net-im/libyahoo2/files/patch-ltmain.sh b/net-im/libyahoo2/files/patch-ltmain.sh
index 0e3b5bb2ae00..71d1d3044562 100644
--- a/net-im/libyahoo2/files/patch-ltmain.sh
+++ b/net-im/libyahoo2/files/patch-ltmain.sh
@@ -1,6 +1,6 @@
---- ltmain.sh.orig Sun Apr 6 12:12:51 2003
-+++ ltmain.sh Sun Apr 6 12:14:51 2003
-@@ -1043,14 +1043,14 @@
+--- ltmain.sh.orig Tue Jan 28 03:11:49 2003
++++ ltmain.sh Tue May 13 06:46:55 2003
+@@ -1043,7 +1043,7 @@
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
;;
@@ -9,14 +9,6 @@
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd*)
-+ *-*-openbsd* | *-*-freebsd*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
@@ -2441,7 +2441,7 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
diff --git a/net-im/libyahoo2/pkg-plist b/net-im/libyahoo2/pkg-plist
index be58f8f11f6d..9e5115cc97ae 100644
--- a/net-im/libyahoo2/pkg-plist
+++ b/net-im/libyahoo2/pkg-plist
@@ -3,8 +3,8 @@ include/libyahoo2/yahoo2_callbacks.h
include/libyahoo2/yahoo2_types.h
include/libyahoo2/yahoo_httplib.h
include/libyahoo2/yahoo_list.h
-@dirrm include/libyahoo2
lib/libyahoo2.a
lib/libyahoo2.so
lib/libyahoo2.so.3
-lib/pkgconfig/libyahoo2.pc
+libdata/pkgconfig/libyahoo2.pc
+@dirrm include/libyahoo2