aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-11-27 20:01:23 +0800
committerkrion <krion@FreeBSD.org>2004-11-27 20:01:23 +0800
commit481092f374e60f6ee6da787f8162fbeaca7b56cf (patch)
tree820f2122a5f97611c4447ad37e806d1d87bc1a36 /x11-fm
parent30d545a0a2b8d2b85d13007be2484a6ecf8d393a (diff)
downloadfreebsd-ports-gnome-481092f374e60f6ee6da787f8162fbeaca7b56cf.tar.gz
freebsd-ports-gnome-481092f374e60f6ee6da787f8162fbeaca7b56cf.tar.zst
freebsd-ports-gnome-481092f374e60f6ee6da787f8162fbeaca7b56cf.zip
Fix build
PR: ports/74428 Submitted by: Ports Fury
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/FSViewer/Makefile18
-rw-r--r--x11-fm/FSViewer/distinfo2
-rw-r--r--x11-fm/FSViewer/files/patch-src::FSUtils.c12
3 files changed, 26 insertions, 6 deletions
diff --git a/x11-fm/FSViewer/Makefile b/x11-fm/FSViewer/Makefile
index e0bce841e2f1..2256a9df73cf 100644
--- a/x11-fm/FSViewer/Makefile
+++ b/x11-fm/FSViewer/Makefile
@@ -7,21 +7,27 @@
PORTNAME= FSViewer.app
PORTVERSION= 0.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fm windowmaker
MASTER_SITES= http://www.bayernline.de/~gscholz/linux/fsviewer/
-DISTNAME= FSViewer.app-${PORTVERSION}
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-WM-0.81.0.patch.gz
+PATCH_DIST_STRIP= -p1
MAINTAINER= Fritz.Heinrichmeyer@fernuni-hagen.de
COMMENT= X11 file manager using WINGS library. Dockable in WindowMaker
-BROKEN= "Does not build with new version of windowmaker"
-
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
-GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-USE_GMAKE=yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= `pkg-config --cflags WINGs`
+LDFLAGS= `pkg-config --libs WINGs`
post-install:
${MKDIR} ${PREFIX}/share/doc/FSViewer
diff --git a/x11-fm/FSViewer/distinfo b/x11-fm/FSViewer/distinfo
index 46931ebb6ab3..f1ad237c0a16 100644
--- a/x11-fm/FSViewer/distinfo
+++ b/x11-fm/FSViewer/distinfo
@@ -1,2 +1,4 @@
MD5 (FSViewer.app-0.2.5.tar.gz) = d1f849d1f955c35b18201860e485d332
SIZE (FSViewer.app-0.2.5.tar.gz) = 858696
+MD5 (FSViewer.app-0.2.5-WM-0.81.0.patch.gz) = 5a24869cb8d392ebfbc6bd4dec478347
+SIZE (FSViewer.app-0.2.5-WM-0.81.0.patch.gz) = 2674
diff --git a/x11-fm/FSViewer/files/patch-src::FSUtils.c b/x11-fm/FSViewer/files/patch-src::FSUtils.c
new file mode 100644
index 000000000000..6ae16c5bcf58
--- /dev/null
+++ b/x11-fm/FSViewer/files/patch-src::FSUtils.c
@@ -0,0 +1,12 @@
+*** src/FSUtils.c.orig Sun Dec 15 06:40:13 2002
+--- src/FSUtils.c Sat Nov 27 20:44:50 2004
+***************
+*** 30,35 ****
+--- 30,36 ----
+ #include <kvm.h>
+ #include <limits.h>
+ #include <osreldate.h>
++ #include <sys/param.h>
+ #include <sys/conf.h>
+ #include <sys/dkstat.h>
+ /* #include <sys/rlist.h> */