git: ca3bbd970ac2 - main - devel/libunwind: Cosmetic change

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 16:02:48 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca3bbd970ac22b4dab032182029f51d611a925aa

commit ca3bbd970ac22b4dab032182029f51d611a925aa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-30 15:57:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-30 15:57:34 +0000

    devel/libunwind: Cosmetic change
    
    - Use bsd.port.options.mk + bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
    - Use = for PLIST_FILES
---
 devel/libunwind/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile
index 5ab156895129..62525e9897a5 100644
--- a/devel/libunwind/Makefile
+++ b/devel/libunwind/Makefile
@@ -29,18 +29,19 @@ PLIST_SUB=	ARCH=${ARCH:S|amd64|x86_64|:C|armv.|arm|:S|i386|x86|:C|powerpc64.*|pp
 
 CPE_VENDOR=	libunwind_project
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !${ARCH:Mpowerpc64*}
-PLIST_SUB+=	COREDUMP=""
-.else
+.if ${ARCH:Mpowerpc64*}
 PLIST_SUB+=	COREDUMP="@comment "
+.else
+PLIST_SUB+=	COREDUMP=""
 .endif
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400052
-PLIST_FILES+=	include/unwind.h
+PLIST_FILES=	include/unwind.h
+
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/unwind.h ${STAGEDIR}${PREFIX}/include
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>