ports/90905: [PATCH] irc/irssi-dcc_send_limiter: updated
Timothy Redaelli
drizzt at gufi.org
Sun Dec 25 21:50:03 UTC 2005
>Number: 90905
>Category: ports
>Synopsis: [PATCH] irc/irssi-dcc_send_limiter: updated
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 25 21:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Timothy Redaelli
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD archer.drizzt.local 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Nov 18 20:28:34 CET 2005 root at archer.drizzt.local:/usr/obj/usr/src/sys/ARCHER i386
>Description:
updated port for irssi >= 0.8.10
>How-To-Repeat:
>Fix:
--- patch.diff begins here ---
--- Makefile.old Sun Dec 25 22:45:00 2005
+++ Makefile Sun Dec 25 22:44:52 2005
@@ -6,9 +6,11 @@
#
PORTNAME= dcc_send_limiter
-PORTVERSION= 0.8.9
+PORTVERSION= 0.8.10
CATEGORIES= irc
-MASTER_SITES= http://svn.irssi.org/repos/modules/trunk/
+MASTER_SITES= http://svn.irssi.org/repos/modules/trunk/ \
+ http://irssi.4ever.de/files/plugins/
+PKGNAMEPREFIX= irssi-
DISTNAME= dcc-send-limiter
EXTRACT_SUFX= .c
@@ -18,33 +20,15 @@
MAINTAINER= drizzt at gufi.org
COMMENT= Irssi plugin to limit the transmit speed of DCC sends
-USE_GNOME= pkgconfig
+BUILD_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+
+USE_GNOME= glib20
NO_WRKSUBDIR= yes
PLIST_FILES= lib/irssi/modules/lib${PORTNAME}.so
-CFLAGS+= -shared -I${LOCAL_IRSSIDIR} -I${LOCAL_IRSSIDIR}/src -I${LOCAL_IRSSIDIR}/src/core -I${LOCAL_IRSSIDIR}/src/irc/core -I${LOCAL_IRSSIDIR}/src/irc/dcc `pkg-config --cflags ${LOCAL_GLIB}`
-
-.include <bsd.port.pre.mk>
-
-.if !exists(${LOCALBASE}/include/irssi/irssi-version.h)
-PKGNAMEPREFIX= irssi-
-BUILD_DEPENDS= irssi:${PORTSDIR}/irc/irssi
-EXTRACT_DEPENDS=${WRKDIR}/../../../${LOCAL_SRCDIR}/work/irssi-${LOCAL_IRSSIVER}/Makefile:${PORTSDIR}/${LOCAL_SRCDIR}:configure
-LOCAL_SRCDIR= irc/irssi
-LOCAL_IRSSIDIR= ${WRKDIR}/../../../${LOCAL_SRCDIR}/work/irssi-${LOCAL_IRSSIVER}
-LOCAL_IRSSIVER= 0.8.9
-.if exists(${LOCALBASE}/include/glib-2.0/glib.h)
-LOCAL_GLIB= glib-2.0
-.else
-LOCAL_GLIB= glib
-.endif
-.else
-PKGNAMEPREFIX= irssi-devel-
-BUILD_DEPENDS= ${LOCALBASE}/include/irssi/irssi-version.h:${PORTSDIR}/irc/irssi-devel
-LOCAL_IRSSIDIR= ${LOCALBASE}/include/irssi
-LOCAL_GLIB=glib-2.0
-.endif
+CFLAGS+= -shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
do-extract:
@${RM} -rf ${WRKDIR}
@@ -57,4 +41,4 @@
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.so ${LOCALBASE}/${PLIST_FILES}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- patch.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list