1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

devel/remake: Fix build on armv7

- For historical reasons, the code base has a hard coded check
   that prevents the use of POSIX functions on ARM platforms.
   Disable that check to make the build succeed.

PR:		265513
Approved by:	maintainer timeout, >2 weeks
This commit is contained in:
Robert Clausecker 2022-08-16 13:12:28 +01:00 committed by Nuno Teixeira
parent 37f10e75dd
commit b85c507213
3 changed files with 29 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= remake
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/bashdb/remake/4.3+dbg-${PORTVERSION}/
DISTNAME= remake-4.3+dbg-${PORTVERSION}

View File

@ -0,0 +1,14 @@
--- src/make.h.orig 2022-07-30 04:29:00 UTC
+++ src/make.h
@@ -100,11 +100,6 @@ extern int errno;
# endif
#endif
-/* Some systems define _POSIX_VERSION but are not really POSIX.1. */
-#if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386)))
-# undef POSIX
-#endif
-
#if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE)
# define POSIX 1
#endif

View File

@ -0,0 +1,14 @@
--- src/makeint.h.orig 2022-07-30 04:31:09 UTC
+++ src/makeint.h
@@ -113,11 +113,6 @@ extern int errno;
# endif
#endif
-/* Some systems define _POSIX_VERSION but are not really POSIX.1. */
-#if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386)))
-# undef POSIX
-#endif
-
#if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE)
# define POSIX 1
#endif