svn commit: r542378 - head/editors/encryptpad
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jul 16 19:08:41 UTC 2020
Author: pkubaj
Date: Thu Jul 16 19:08:40 2020
New Revision: 542378
URL: https://svnweb.freebsd.org/changeset/ports/542378
Log:
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"
MFH: 2020Q3 (runtime fix)
Modified:
head/editors/encryptpad/Makefile
Modified: head/editors/encryptpad/Makefile
==============================================================================
--- head/editors/encryptpad/Makefile Thu Jul 16 18:32:09 2020 (r542377)
+++ head/editors/encryptpad/Makefile Thu Jul 16 19:08:40 2020 (r542378)
@@ -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-head
mailing list