aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-16 19:00:08 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-16 19:00:08 +0800
commitff1b6d7a246bcfaf75a181e3803379394bedecf6 (patch)
tree70a13bd010b4545bd201c2a6de0116051da5f8e9
parentc483b2c6a785774387cbb7050bcf9989c36438b9 (diff)
downloadfreebsd-ports-gnome-ff1b6d7a246bcfaf75a181e3803379394bedecf6.tar.gz
freebsd-ports-gnome-ff1b6d7a246bcfaf75a181e3803379394bedecf6.tar.zst
freebsd-ports-gnome-ff1b6d7a246bcfaf75a181e3803379394bedecf6.zip
- Kill superfluous line (debug leftover)
- Optimize away extra REINPLACE_CMD call
-rw-r--r--security/ophcrack/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/ophcrack/Makefile b/security/ophcrack/Makefile
index ca849b4345b6..5aea0b4683b1 100644
--- a/security/ophcrack/Makefile
+++ b/security/ophcrack/Makefile
@@ -18,7 +18,6 @@ COMMENT= Windows password cracker based on rainbow tables
USE_GNOME= gtk20
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
SUB_FILES+= pkg-message
PORTDOCS= *
MAN1= bkhive.1 samdump2.1
@@ -32,9 +31,8 @@ post-extract:
@${REINPLACE_CMD} -e 's/ install-exec-local// ; 605,617d' \
${WRKSRC}/Makefile.in
# Hint the tools about correct endianness
- @${REINPLACE_CMD} -e '27s,^,#include <machine/endian.h>,' \
- ${WRKDIR}/bkhive-${TOOLS_VER}/bkhive.c
- @${REINPLACE_CMD} -e '34s,^,#include <machine/endian.h>,' \
+ @${REINPLACE_CMD} -e '27s,^$$,#include <machine/endian.h>,' \
+ ${WRKDIR}/bkhive-${TOOLS_VER}/bkhive.c \
${WRKDIR}/samdump2-${TOOLS_VER}/samdump2.c
post-build: