aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fd/Makefile')
-rw-r--r--shells/fd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index fed9377fcb5..974cc060908 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fd
-PORTVERSION= 2.09
+PORTVERSION= 2.09c
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.unixusers.net/src/fdclone/
@@ -19,7 +19,7 @@ COMMENT= A CUI-based file and directory management tool
MANLANG= "" ja
MAN1= fd.1 fdsh.1
MAKE_ENV= LANG=ja
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" CONFDIR="${PREFIX}/etc"
+MAKE_ARGS= CC="${CC}" CONFDIR="${PREFIX}/etc"
DOCS_EN= FAQ.eng \
LICENSES.eng \
@@ -34,7 +34,7 @@ DOCS_JA= FAQ \
ToAdmin
post-patch:
- ${REINPLACE_CMD} -E -e 's|^(#define[[:space:]]+EXTENDCCOPT[[:space:]]+)"-O"$$|\1 "${CFLAGS}"|' ${WRKSRC}/machine.h
+ ${REINPLACE_CMD} -E -e 's|^(#[[:space:]]*define[[:space:]]+EXTENDCCOPT[[:space:]]+"([^"]+ )?)-O(["[:space:]])|\1${CFLAGS}\3|' ${WRKSRC}/machine.h
post-install:
@${ECHO} "Updating /etc/shells"