reduce pidgin dependency to just libpurple, all of pidgin isn't

needed

allows this to work with minbif and other purple-using things

ok alek@
This commit is contained in:
jcs 2012-10-14 20:44:06 +00:00
parent b77153cb11
commit d87fa70296
2 changed files with 15 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2011/09/16 11:13:39 espie Exp $
# $OpenBSD: Makefile,v 1.10 2012/10/14 20:44:06 jcs Exp $
SHARED_ONLY= Yes
COMMENT= ICB protocol plugin for Pidgin
DISTNAME= pidgin-icb-20070505
REVISION= 4
REVISION= 5
CATEGORIES= net
HOMEPAGE= http://nic.com.pl/~alek/pidgin-icb/
@ -20,8 +20,7 @@ PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= net/pidgin>=2.0.0
BUILD_DEPENDS= net/pidgin,-libpurple>=2.0.0
NO_REGRESS= Yes

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1 2012/10/14 20:44:06 jcs Exp $
--- Makefile.orig Fri Oct 12 20:28:55 2012
+++ Makefile Fri Oct 12 20:29:19 2012
@@ -2,7 +2,7 @@ LOCALBASE?= /usr/local
PREFIX?= ${LOCALBASE}
CTAGSCMD?= ectags
-CFLAGS+=`pkg-config pidgin --cflags` \
+CFLAGS+=`pkg-config purple --cflags` \
-I${LOCALBASE}/include \
-fPIC \
-Wall