diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-04-16 04:08:12 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-04-16 04:08:39 +0000 |
commit | b81865a580a4550ab187e4757dd03bd03e47c58a (patch) | |
tree | e737d9311521abfd3e7556436404b506c570adc7 /games/mvdsv | |
parent | cbd54bca953fe6b624fe87e30f88f38dc09fa7da (diff) | |
download | ports-b81865a580a4550ab187e4757dd03bd03e47c58a.tar.gz ports-b81865a580a4550ab187e4757dd03bd03e47c58a.zip |
Attempt to unbreak MVDSV and QWDtools on recent -CURRENT.
Reported by: pkg-fallout
Diffstat (limited to 'games/mvdsv')
-rw-r--r-- | games/mvdsv/files/patch-build_make_Makefile.BSD | 2 | ||||
-rw-r--r-- | games/mvdsv/files/patch-tools_qwdtools_source_Makefile.BSD | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/games/mvdsv/files/patch-build_make_Makefile.BSD b/games/mvdsv/files/patch-build_make_Makefile.BSD index b9c83f435da1..2c47406e0d8a 100644 --- a/games/mvdsv/files/patch-build_make_Makefile.BSD +++ b/games/mvdsv/files/patch-build_make_Makefile.BSD @@ -5,7 +5,7 @@ # configure script add FORCE32BITFLAGS=-m32 -DO_CFLAGS = ${CFLAGS} -Wall -pipe -pthread -funsigned-char -DSERVERONLY -DUSE_PR2 -D${BYTE_ORDER}Q__ ${FORCE32BITFLAGS} -+BYTE_ORDER!= ${CC} -x c -dM -E /usr/include/machine/endian.h | sed -n 's,\#define _BYTE_ORDER \(.*\),_\1__,p' ++BYTE_ORDER!= ${CC} -x c -dM -E /usr/include/machine/endian.h | sed -n 's,\#define __BYTE_ORDER__ __ORDER\(.*_ENDIAN__\),_\1,p' +DO_CFLAGS = ${CFLAGS} -Wall -pipe -funsigned-char -DWWW_INTEGRATION -DSERVERONLY -DUSE_PR2 -D${BYTE_ORDER}Q__ ${FORCE32BITFLAGS} -WITH_OPTIMIZED_CFLAGS = YES diff --git a/games/mvdsv/files/patch-tools_qwdtools_source_Makefile.BSD b/games/mvdsv/files/patch-tools_qwdtools_source_Makefile.BSD index 65d6ac1fd450..a606fdf847dd 100644 --- a/games/mvdsv/files/patch-tools_qwdtools_source_Makefile.BSD +++ b/games/mvdsv/files/patch-tools_qwdtools_source_Makefile.BSD @@ -13,7 +13,7 @@ # configure script add FORCE32BITFLAGS=-m32 -DO_CFLAGS = ${CFLAGS} -Wall -pipe -pthread -funsigned-char -DUSE_PR2 -D${BYTE_ORDER}Q__ ${FORCE32BITFLAGS} -+BYTE_ORDER!= ${CC} -x c -dM -E /usr/include/machine/endian.h | sed -n 's,\#define _BYTE_ORDER \(.*\),_\1__,p' ++BYTE_ORDER!= ${CC} -x c -dM -E /usr/include/machine/endian.h | sed -n 's,\#define __BYTE_ORDER__ __ORDER\(.*_ENDIAN__\),_\1,p' +DO_CFLAGS = ${CFLAGS} -Wall -pipe -funsigned-char -DSERVERONLY -D${BYTE_ORDER}Q__ ${FORCE32BITFLAGS} -.if !defined(NOKQUEUE) && (${UNAME} == "FreeBSD" || ${UNAME} == "DragonFly") |