Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2008 00:58:29 +0200 (CEST)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125788: [PATCH] x11-fm/xfe coredumps
Message-ID:  <20080719225829.AB4DF6D48F@mail.rwxrwxrwx.net>
Resent-Message-ID: <200807192300.m6JN07mM074292@freefall.freebsd.org>

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

>Number:         125788
>Category:       ports
>Synopsis:       [PATCH] x11-fm/xfe coredumps
>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 Jul 19 23:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD phong.rwxrwxrwx.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Mar 21 20:18:47 CET 2008     carpetsmoker@phong.rwxrwxrwx.net:/usr/obj/usr/src/sys/PHONG  i386

>Description:
o x11-fm/xfe coredumps on startup, fix that.
o Take maintainership.

>How-To-Repeat:

>Fix:

--- xfe.diff begins here ---
diff -urN --exclude CVS --exclude PBI /ports/x11-fm/xfe/Makefile x11-fm/xfe/Makefile
--- /ports/x11-fm/xfe/Makefile	2008-07-18 12:56:22.000000000 +0200
+++ x11-fm/xfe/Makefile	2008-07-20 00:54:09.000000000 +0200
@@ -3,14 +3,16 @@
 # Whom:					ptiJo
 #
 # $FreeBSD: ports/x11-fm/xfe/Makefile,v 1.28 2008/07/18 10:56:22 miwi Exp $
+# $Carpetsmoker: ports/x11-fm/xfe/Makefile,v 1.1 2008/07/19 22:54:09 carpetsmoker Exp $
 #
 
 PORTNAME=	xfe
 PORTVERSION=	1.19.1
+PORTREVISION=	1
 CATEGORIES=	x11-fm
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	carpetsmoker@rwxrwxrwx.net
 COMMENT=	Fast MS-Explorer like filemanager for X
 
 LIB_DEPENDS=	FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
@@ -21,16 +23,20 @@
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
 MAN1=		xfe.1 xfi.1 xfp.1 xfv.1 xfw.1
 
-CPPFLAGS=	-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CXXFLAGS=""|#CXXFLAGS=""|g ; \
 		 s|-O2 ||g ; \
-		 /if test/s|==|=|g' ${WRKSRC}/configure
+		 /if test/s|==|=|g' \
+		${WRKSRC}/configure
+	@${REINPLACE_CMD} 's|/usr/share/xfe|${DATADIR}|' \
+		${WRKSRC}/src/XFileExplorer.cpp ${WRKSRC}/src/help.h
+	@${REINPLACE_CMD} 's|/usr/local/share/xfe|${DATADIR}|' \
+		${WRKSRC}/src/xfedefs.h
 
 .include <bsd.port.mk>
--- xfe.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
 



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