git: 2ffa084df93c - main - biology/pear-merger: fix build on non-x86
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Apr 6 09:50:56 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2ffa084df93c5ae30d1ce0a9fba1f4f0c902212e
commit 2ffa084df93c5ae30d1ce0a9fba1f4f0c902212e
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-06 09:50:56 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-06 09:50:56 +0000
biology/pear-merger: fix build on non-x86
Builds fine with GCC.
---
biology/pear-merger/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/biology/pear-merger/Makefile b/biology/pear-merger/Makefile
index af1abae2c36d..ca4c09c3899e 100644
--- a/biology/pear-merger/Makefile
+++ b/biology/pear-merger/Makefile
@@ -25,6 +25,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
PLIST_FILES= bin/pearRM man/man1/pearRM.1.gz
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+USE_GCC= yes
+.endif
+
do-install:
@${CP} ${WRKSRC}/man/pear.1 ${WRKSRC}/man/pearRM.1
${INSTALL_PROGRAM} ${WRKSRC}/src/pear ${STAGEDIR}${PREFIX}/bin/pearRM
More information about the dev-commits-ports-all
mailing list