aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2021-02-02 02:50:32 +0800
committerGleb Popov <arrowd@FreeBSD.org>2021-02-02 02:50:32 +0800
commit9cfe421df1fd736ffa1490661e0ff41952f0cccc (patch)
treeba37a768f773ab4419e46109a4488411607627ce /x11-wm
parent5f3223a397000194da259da977e6e22266be0d20 (diff)
downloadfreebsd-ports-gnome-9cfe421df1fd736ffa1490661e0ff41952f0cccc.tar.gz
freebsd-ports-gnome-9cfe421df1fd736ffa1490661e0ff41952f0cccc.tar.zst
freebsd-ports-gnome-9cfe421df1fd736ffa1490661e0ff41952f0cccc.zip
x11-wm/hs-xmonad: Fix the example build script.
PR: 253167
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/hs-xmonad/Makefile2
-rw-r--r--x11-wm/hs-xmonad/files/example_buildscript1
2 files changed, 2 insertions, 1 deletions
diff --git a/x11-wm/hs-xmonad/Makefile b/x11-wm/hs-xmonad/Makefile
index 6322b1439975..dc1fb2067995 100644
--- a/x11-wm/hs-xmonad/Makefile
+++ b/x11-wm/hs-xmonad/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmonad
PORTVERSION= 0.15
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-wm haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/x11-wm/hs-xmonad/files/example_buildscript b/x11-wm/hs-xmonad/files/example_buildscript
index 2e10fbc6f684..a477e74b2955 100644
--- a/x11-wm/hs-xmonad/files/example_buildscript
+++ b/x11-wm/hs-xmonad/files/example_buildscript
@@ -10,6 +10,7 @@ CFG_DIR=$HOME/.xmonad
# build the config
cd $CFG_DIR
+cabal new-clean || true
cabal new-configure --enable-optimization --enable-executable-stripping
cabal new-build