pkgsrc-Bugs archive

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

pkg/53732: [PATCH] sysutils/mc does not build on mc



>Number:         53732
>Category:       pkg
>Synopsis:       [PATCH] sysutils/mc does not build on mc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 18 17:25:00 +0000 2018
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
macOS Mojave
>Description:
sysutils/mc does not build on macOS.
>How-To-Repeat:
Try to build sysutils/mc on macOS
>Fix:
commit 581b7caefa695a5989f75e6251a9c95158364fe7
Author: Jonathan Schleifer <js%heap.zone@localhost>
Date:   Sat Oct 6 14:41:59 2018 +0200

    Fix mc build on Darwin

diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile
index 47cfc623e33..b492fd6e8d6 100644
--- a/sysutils/mc/Makefile
+++ b/sysutils/mc/Makefile
@@ -35,6 +35,9 @@ PLIST_SRC+=		${PKGDIR}/PLIST.cons.saver
 CONFIGURE_ARGS+=	--without-ext2undel
 CONFIGURE_ARGS+=	--without-gpm-mouse
 CONFIGURE_ARGS+=	UNZIP=${TOOLS_PATH.unzip} ZIP=${TOOLS_PATH.zip}
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+=	ac_cv_func_utimensat=no
+.endif
 
 PLIST_SRC+=		${PKGDIR}/PLIST



Home | Main Index | Thread Index | Old Index