Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2002 18:45:10 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de, billf@FreeBSD.org
Subject:   ports/43456: Unbreak port misc/gtkfind
Message-ID:  <200209281645.g8SGjA8v005186@sauna.arved.de>

next in thread | raw e-mail | index | archive | help

>Number:         43456
>Category:       ports
>Synopsis:       Unbreak port misc/gtkfind
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 28 09:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	MASTER_SITE has dissapeared, FreeBSD Mirrors seems to be the only ones
	having the distfile, so setting MASTER_SITE to MASTER_SITE_BACKUP.
	Unbreak by adding explicit dependency to XFree86-4-clients.
	Remove -O2 from CFLAGS
	Don't install an own version of mktemp.
	
>How-To-Repeat:
	
>Fix:

	

--- gtkfind.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/gtkfind/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	1 Sep 2002 15:13:11 -0000	1.15
+++ Makefile	28 Sep 2002 16:39:50 -0000
@@ -8,21 +8,26 @@
 PORTNAME=	gtkfind
 PORTVERSION=	1.1
 CATEGORIES=	misc
-MASTER_SITES=	http://www.oz.net/~mattg/
-# metalab hasn't caught up yet...
-#		${MASTER_SITE_SUNSITE}
-#MASTER_SITE_SUBDIR=	X11/gtkbuffet/apps/gtkfind
+MASTER_SITES=	${MASTER_SITE_BACKUP}
 
 MAINTAINER=	billf@FreeBSD.org
 
-BROKEN=		"Missing dependency on xterm"
+BUILD_DEPENDS=	xterm:${PORTSDIR}/x11/XFree86-4-clients
 
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_GNOMENG=	yes
 USE_GNOME=	gtk12
 GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
 
-MAN1=		gtkfind.1 mktmp.1
+MAN1=		gtkfind.1
+
+post-patch:
+	${REINPLACE_CMD} -e 's,-O2,,' ${WRKSRC}/configure ${WRKSRC}/Makefile.in	
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/gtkfind ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/gtkfind.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/gtkfind/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	24 Jan 1999 09:12:59 -0000	1.2
+++ pkg-plist	28 Sep 2002 16:39:59 -0000
@@ -1,2 +1 @@
 bin/gtkfind
-bin/mktmp
--- gtkfind.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209281645.g8SGjA8v005186>