ports/shells/fd/files/patch-machine.h
Alexey Dokuchaev fb09053ffd - Remove `files/patch-Makefile.in' as it is being unused since there is
pre-generated Makefile already provided
- Unbreak the build on PowerPC by not treating it differently from other
  FreeBSD systems
- Respect CFLAGS in a more sane way than patching ${WRKSRC}/machine.h in
  `_post-configure' target with some cryptic sed(1) regexp
- Factor out docfiles installation into `post-install-DOCS-on' target,
  sanitize it a bit, unmute installation commands, move OPTIONS_DEFINE
  knob lower while I am here
- Avoid use of contraction in the port description text
2015-09-08 17:53:40 +00:00

37 lines
842 B
C

--- machine.h.orig 2014-05-05 15:00:00 UTC
+++ machine.h
@@ -584,25 +584,6 @@ typedef long off_t;
#define USEINETATON
#endif
-#if defined (__FreeBSD__) && defined (__powerpc__)
-#define BSD44
-#define OSTYPE "JCCBSD"
-#define CODEEUC
-#define TARUSESPACE
-#define REGEXPLIB "-lcompat"
-#define DECLSIGLIST
-#define DECLERRLIST
-#define USELEAPCNT
-#define USEMOUNTH
-#define USEMNTINFO
-#define USERE_COMP
-#define USESETENV
-#define ULONGIOCTL
-#define USEMKTIME
-#define SIGFNCINT
-#define USEINETATON
-#endif
-
#if defined (__FreeBSD__) && !defined (OSTYPE) && !defined (__BOW__)
#define BSD44
#define OSTYPE "FREEBSD"
@@ -1315,7 +1296,7 @@ typedef unsigned long u_long;
#define CCCOMMAND "cc"
#endif
#ifndef EXTENDCCOPT
-#define EXTENDCCOPT "-O"
+#define EXTENDCCOPT ""
#endif
#ifndef TERMCAPLIB
# ifdef USETERMINFO