aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-16 20:28:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-16 20:28:44 +0800
commit6c689ce8247813be4863b09d59e308b3da21cc6c (patch)
treeef01d9d536c04b1a49e2771719b3eb0b5eeaf27b /graphics
parentb5c8bbadcfd814fae32a30a2e0c236e2201c069e (diff)
downloadfreebsd-ports-gnome-6c689ce8247813be4863b09d59e308b3da21cc6c.tar.gz
freebsd-ports-gnome-6c689ce8247813be4863b09d59e308b3da21cc6c.tar.zst
freebsd-ports-gnome-6c689ce8247813be4863b09d59e308b3da21cc6c.zip
- Fix build on pre-10.x by removing -Werror
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfpovray/Makefile2
-rw-r--r--graphics/xfpovray/files/BSDmakefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
index 4384e8aff1b9..a9936facbacb 100644
--- a/graphics/xfpovray/Makefile
+++ b/graphics/xfpovray/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta
USES= tar:tgz uidfix
USE_XORG= x11 xext xpm
MAKEFILE= ${FILESDIR}/BSDmakefile
-MAKE_ENV+= DOCSDIR="${DOCSDIR}"
+MAKE_ENV= DOCSDIR="${DOCSDIR}"
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
diff --git a/graphics/xfpovray/files/BSDmakefile b/graphics/xfpovray/files/BSDmakefile
index 59bd7e5a6042..16b0cc63bc74 100644
--- a/graphics/xfpovray/files/BSDmakefile
+++ b/graphics/xfpovray/files/BSDmakefile
@@ -1,5 +1,6 @@
PROG= xfpovray
NO_MAN= nope
+NO_WERROR= yes
BINDIR= ${PREFIX}/bin
CFLAGS+=-Iflx -I${LOCALBASE}/include -DHELP_DIR='"${DOCSDIR}"'
LDADD+= -L${LOCALBASE}/lib -lforms -lX11