aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/greed/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-21 20:31:04 +0800
committerarved <arved@FreeBSD.org>2003-11-21 20:31:04 +0800
commit887865a143a41765b163cc6709c4794f11e21a63 (patch)
tree91cb63e529cbd06c8456889617874b232ea679df /ftp/greed/Makefile
parent94063b5443f223e753b8f469f3c7b1aec0f63d49 (diff)
downloadfreebsd-ports-gnome-887865a143a41765b163cc6709c4794f11e21a63.tar.gz
freebsd-ports-gnome-887865a143a41765b163cc6709c4794f11e21a63.tar.zst
freebsd-ports-gnome-887865a143a41765b163cc6709c4794f11e21a63.zip
Respect CFLAGS, should fix build on alpha
Diffstat (limited to 'ftp/greed/Makefile')
-rw-r--r--ftp/greed/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftp/greed/Makefile b/ftp/greed/Makefile
index e26453f9a4a3..e6595183cd8d 100644
--- a/ftp/greed/Makefile
+++ b/ftp/greed/Makefile
@@ -16,10 +16,15 @@ COMMENT= A utility for downloading files with resume capabilities
ALL_TARGET= freebsd
WRKSRC= ${WRKDIR}/greed.81p
+USE_REINPLACE= yes
MANCOMPRESSED= yes
MAN1= greed.1
+post-patch:
+ ${REINPLACE_CMD} -e "s,-funroll-all-loops -ffast-math,${CFLAGS}," \
+ ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/greed ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/greed.1.gz ${PREFIX}/man/man1