svn commit: r542379 - branches/2020Q3/editors/encryptpad
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jul 16 19:09:33 UTC 2020
Author: pkubaj
Date: Thu Jul 16 19:09:33 2020
New Revision: 542379
URL: https://svnweb.freebsd.org/changeset/ports/542379
Log:
MFH: r542378
editors/encryptpad: fix runtime on powerpc64
configure.py sets ppc32 as target architecture:
INFO: Canonicalized CPU target powerpc to ppc32
INFO: Autodetected platform information: OS="FreeBSD" machine="powerpc" proc="powerpc64"
Approved by: portmgr (runtime fix blanket)
Modified:
branches/2020Q3/editors/encryptpad/Makefile
Directory Properties:
branches/2020Q3/ (props changed)
Modified: branches/2020Q3/editors/encryptpad/Makefile
==============================================================================
--- branches/2020Q3/editors/encryptpad/Makefile Thu Jul 16 19:08:40 2020 (r542378)
+++ branches/2020Q3/editors/encryptpad/Makefile Thu Jul 16 19:09:33 2020 (r542379)
@@ -4,6 +4,7 @@
PORTNAME= encryptpad
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0.0
+PORTVERSION= 1
CATEGORIES= editors security
MAINTAINER= dmgk at FreeBSD.org
@@ -29,6 +30,12 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+CONFIGURE_ARGS= --cpu="${ARCH}"
+.endif
+
.include <bsd.port.pre.mk>
post-patch:
@@ -38,7 +45,7 @@ post-patch:
.endif
do-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure.py
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure.py ${CONFIGURE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/release/* ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-branches
mailing list