From 01270104f79059abbc51195e1d74c9db41ae948b Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 15 Sep 2015 12:23:19 +0000 Subject: - 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) --- security/chntpw/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'security') 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 - 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 +.include -- cgit