aboutsummaryrefslogtreecommitdiff
path: root/security/chntpw
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 12:23:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 12:23:19 +0000
commit3a8ea1224ee7d988540a70b8978bb808a68143cc (patch)
tree9917c53caa14f6d666890b9761d0bc19c0fa21fe /security/chntpw
parent8dddf1cd08b3f6e151e7e246cce3955207d34e70 (diff)
downloadports-3a8ea1224ee7d988540a70b8978bb808a68143cc.tar.gz
ports-3a8ea1224ee7d988540a70b8978bb808a68143cc.zip
- Drop ARCH condition for removing -m32 flag: on i386 it's no-op anyway
- Drop ONLY_FOR_ARCHS, it builds fine on arm, mips and mips64, however not sure if it's usable there - Switch to options helpers PR: 202870 Submitted by: amdmi3 Approved by: buganini@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=396956
Diffstat (limited to 'security/chntpw')
-rw-r--r--security/chntpw/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/security/chntpw/Makefile b/security/chntpw/Makefile
index c02a7e7f9db0..a8cf72f131dc 100644
--- a/security/chntpw/Makefile
+++ b/security/chntpw/Makefile
@@ -18,29 +18,21 @@ OPTIONS_DEFINE= DOCS
USE_OPENSSL= yes
USES= gmake zip
-ONLY_FOR_ARCHS= i386 amd64
-
BIN_FILES= chntpw cpnt reged
PLIST_FILES= ${BIN_FILES:C|^|bin/|}
PORTDOCS= README.txt WinReg.txt regedit.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d; /^OSSLPATH=/ s|=.*|=${OPENSSLBASE}|' ${WRKSRC}/Makefile
-.if ${ARCH} == "amd64"
@${REINPLACE_CMD} -e '/^CFLAGS=/ s| -m32||' ${WRKSRC}/Makefile
-.endif
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>