aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-11-27 12:01:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-11-27 12:01:23 +0000
commit7ea2b6d82fcb88ab56ebfd0191a4f4cd9dfb91f2 (patch)
treecf0985918152f1c70909d67508414d6d9a32cd7c /x11-fm
parent37ce6cf98c00e2d98383a65e688005302c077fcc (diff)
downloadports-7ea2b6d82fcb88ab56ebfd0191a4f4cd9dfb91f2.tar.gz
ports-7ea2b6d82fcb88ab56ebfd0191a4f4cd9dfb91f2.zip
Notes
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> */