pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

got-portable: Makefile revision.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Mon Jul 4 23:21:25 2022 +0200
Changeset:	cd5c4fb72f2e2c6e5cc55b95d672f4e320f5cf27

Modified Files:
	got-portable/Makefile

Log Message:
got-portable: Makefile revision.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd5c4fb72f2e2c6e5cc55b95d672f4e320f5cf27

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 got-portable/Makefile | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diffs:
diff --git a/got-portable/Makefile b/got-portable/Makefile
index 6c4c1f195c..e7049f042b 100644
--- a/got-portable/Makefile
+++ b/got-portable/Makefile
@@ -21,22 +21,17 @@ ONLY_FOR_PLATFORM+=	DragonFly-*-*
 
 USE_TOOLS+=		pkg-config autoconf automake autoreconf
 GNU_CONFIGURE=		yes
+
 INSTALLATION_DIRS=	bin libexec ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
 
-_short_dist=	"`echo ${DISTNAME} | cut -c 1-7`"
-WRKSRC=		${WRKDIR}/got-portable-${_short_dist}
+shortdist=	"`${ECHO} ${DISTNAME} | ${CUT} -c 1-7`"
+WRKSRC=		${WRKDIR}/got-portable-${shortdist}
 
 .include "../../mk/bsd.prefs.mk"
 
 pre-configure:
 	set -e; cd ${WRKSRC} && autoreconf -fiv
 
-post-patch:
-.if ${OPSYS} == "NetBSD"
-	# NetBSD has sha1.h.
-	${RM} -f ${WRKSRC}/openbsd-compat/sha1.h
-.endif
-
 .if ${OPSYS} == "Linux"
 # compatibility macros and functions for Linux.
 .include "../../devel/libbsd/buildlink3.mk"
@@ -50,9 +45,12 @@ post-patch:
 .include "../../devel/libuuid/buildlink3.mk"
 .endif
 
-# For set_panel_userptr(3)'s second argument and waddwstr(3).
-.include "../../devel/ncursesw/buildlink3.mk"
+# need libcrypto.so.1.1
 BUILDLINK_API_DEPENDS.openssl+=   openssl>=1.1.1n
-.include "../../devel/zlib/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
+
+# required for set_panel_userptr(3) and waddwstr(3).
+.include "../../devel/ncursesw/buildlink3.mk"
+
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index