aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/xfe/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-20 07:25:11 +0800
committermiwi <miwi@FreeBSD.org>2008-07-20 07:25:11 +0800
commit7d9fa22fa1abe439d775d7e65ee92e1f031b16f7 (patch)
tree7fa02a60a98b7efb64350664eb3352142f032913 /x11-fm/xfe/Makefile
parentccb4a0faf9a505f76d5b2db69b3799f0914660d7 (diff)
downloadfreebsd-ports-gnome-7d9fa22fa1abe439d775d7e65ee92e1f031b16f7.tar.gz
freebsd-ports-gnome-7d9fa22fa1abe439d775d7e65ee92e1f031b16f7.tar.zst
freebsd-ports-gnome-7d9fa22fa1abe439d775d7e65ee92e1f031b16f7.zip
- Fix coredumps on startup
- Pass maintainership to submitter PR: 125788 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl>
Diffstat (limited to 'x11-fm/xfe/Makefile')
-rw-r--r--x11-fm/xfe/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/x11-fm/xfe/Makefile b/x11-fm/xfe/Makefile
index 4d4290fe438f..acafd315938c 100644
--- a/x11-fm/xfe/Makefile
+++ b/x11-fm/xfe/Makefile
@@ -3,14 +3,16 @@
# Whom: ptiJo
#
# $FreeBSD$
+# $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_GNOME= gnomehack gnometarget
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>