mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Unbreak it
- Honour CFLAGS PR: ports/62018 Submitted by: maintainer
This commit is contained in:
parent
61550a407d
commit
c27bc3f917
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99310
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user