ports/64204: sysutils/gtk-send-pr: fix build with new GTK (2.3/4)

Brian Gruber lists at bgruber.isa-geek.com
Sat Mar 13 09:20:17 UTC 2004


>Number:         64204
>Category:       ports
>Synopsis:       sysutils/gtk-send-pr: fix build with new GTK (2.3/4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 13 01:20:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Brian Gruber
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD calvin 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Mar 3 01:52:42 EST 2004 root at calvin:/usr/obj/usr/src/sys/CALVIN i386


	
>Description:
	Port won't compile against the new version of GTK+, due to use
of DISABLE_DEPRECATED.
	
>How-To-Repeat:
	
>Fix:
	

--- gtk-send-pr.diff begins here ---
diff -ur gtk-send-pr.orig/Makefile gtk-send-pr/Makefile
--- gtk-send-pr.orig/Makefile	Fri Mar 12 13:53:44 2004
+++ gtk-send-pr/Makefile	Fri Mar 12 14:08:42 2004
@@ -15,11 +15,16 @@
 
 LIB_DEPENDS=	esmtp.6:${PORTSDIR}/mail/libesmtp
 
+USE_REINPLACE=	yes
 USE_GNOME=	gtk20
 USE_X_PREFIX=	yes
 
 MAN1=		gtk-send-pr.1
 PLIST_FILES=	bin/gtk-send-pr
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+		${WRKSRC}/Makefile
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/gtk-send-pr ${PREFIX}/bin
--- gtk-send-pr.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list