aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/quat-gui/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-28 17:12:50 +0800
committerkrion <krion@FreeBSD.org>2004-01-28 17:12:50 +0800
commit9edcece0b9bc7d37ffee0174b9af87c802fb7a65 (patch)
treea751c09f9cafca1c45a7f2a1527d3c65144cdaa9 /graphics/quat-gui/Makefile
parent9253ebbd5d1429d98f9b0fa6e2d5757172c57cc2 (diff)
downloadfreebsd-ports-gnome-9edcece0b9bc7d37ffee0174b9af87c802fb7a65.tar.gz
freebsd-ports-gnome-9edcece0b9bc7d37ffee0174b9af87c802fb7a65.tar.zst
freebsd-ports-gnome-9edcece0b9bc7d37ffee0174b9af87c802fb7a65.zip
- Unbreak it
- Honour CFLAGS PR: ports/62018 Submitted by: maintainer
Diffstat (limited to 'graphics/quat-gui/Makefile')
-rw-r--r--graphics/quat-gui/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/quat-gui/Makefile b/graphics/quat-gui/Makefile
index 8d3732a6b410..4d9cea973903 100644
--- a/graphics/quat-gui/Makefile
+++ b/graphics/quat-gui/Makefile
@@ -8,15 +8,13 @@
PORTNAME= quat
PORTVERSION= 1.20
CATEGORIES= graphics
-MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
+MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
PKGNAMESUFFIX= -gui
DISTNAME= quat-${PORTVERSION:S/.p/pre/}
MAINTAINER= dyeske@yahoo.com
COMMENT= A Three-dimensional fractal creator (X11 GUI)
-BROKEN= "Does not build, will be removed after Feb 2"
-
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_X_PREFIX= yes
@@ -24,7 +22,7 @@ USE_MESA= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -L${X11BASE}/lib" \
- LIBS="-lXext -lGL"
+ LIBS="-lXext -lGL" FLUID="${X11BASE}/bin/fluid}"
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math
@@ -37,7 +35,9 @@ pre-everything::
.endif
post-patch:
- @${REINPLACE_CMD} -E -e 's,-(march=pentium|O3|ffast-math),,g' \
+ @${REINPLACE_CMD} -E -e \
+ 's|^...CFLAGS=|#CFLAGS=|; \
+ s|^...CXXFLAGS=|#CXXFLAGS=|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -E -e 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
${WRKSRC}/gui/Makefile.in