summaryrefslogtreecommitdiff
path: root/graphics/hs-HOpenGL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hs-HOpenGL/Makefile')
-rw-r--r--graphics/hs-HOpenGL/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/hs-HOpenGL/Makefile b/graphics/hs-HOpenGL/Makefile
index 8c5c463e5b6d..46737c43a31d 100644
--- a/graphics/hs-HOpenGL/Makefile
+++ b/graphics/hs-HOpenGL/Makefile
@@ -22,7 +22,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_MESA= yes
-LIB_DIR_ABS!= ghc --print-libdir
+LIB_DIR_ABS!= (ghc --print-libdir || true) 2>/dev/null
IMPORT_DIR_ABS= ${LIB_DIR_ABS}/imports/HOpenGL
LIB_DIR_REL= ${LIB_DIR_ABS:S/^${PREFIX}\///}
IMPORT_DIR_REL= ${LIB_DIR_REL}/imports/HOpenGL