summaryrefslogtreecommitdiffstats
path: root/net-im/libyahoo2
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 00:20:42 +0000
committerpetef <petef@FreeBSD.org>2003-05-19 00:20:42 +0000
commitf3272948f9971b1fcefb07634caf46de2ab0ea30 (patch)
treed3b8dd51040777608819aa176a8963574b6b2bea /net-im/libyahoo2
parentd0f6863181f92caf90ccb098abde01da3fae06b4 (diff)
downloadFreeBSD-ports-f3272948f9971b1fcefb07634caf46de2ab0ea30.zip
FreeBSD-ports-f3272948f9971b1fcefb07634caf46de2ab0ea30.tar.gz
- use pkg-config and install .pc file to the correct spot
- sort pkg-plist correctly - bump PORTREVISION PR: 52139 Submitted by: Ports Fury
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 de57ea5..8b3310e 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 0e3b5bb..71d1d30 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 be58f8f..9e5115c 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
OpenPOWER on IntegriCloud