Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2020 19:08:41 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542378 - head/editors/encryptpad
Message-ID:  <202007161908.06GJ8fRM029886@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007161908.06GJ8fRM029886>