fix makefile for freebsd

This commit is contained in:
Franck 2024-02-09 16:11:10 +01:00
parent 865be65118
commit f688664f02
3 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,6 @@ AR := ar
INSTALL := install INSTALL := install
RM := rm RM := rm
STRIP := strip STRIP := strip
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
BINDIR ?= bin BINDIR ?= bin
LIBDIR ?= lib LIBDIR ?= lib
DATADIR ?= share DATADIR ?= share
@ -11,6 +10,13 @@ LIBRETRO_DIR ?= libretro
WANT_BPP := 32 WANT_BPP := 32
#DEBUG := 1 #DEBUG := 1
ifneq ($(SKIP_GIT),1)
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
else
GIT_VERSION := " "
endif
MANDIR := man/man6 MANDIR := man/man6
CFLAGS := $(filter-out -D_FORTIFY_SOURCE=1,$(CFLAGS)) CFLAGS := $(filter-out -D_FORTIFY_SOURCE=1,$(CFLAGS))
CFLAGS := $(filter-out -D_FORTIFY_SOURCE=2,$(CFLAGS)) CFLAGS := $(filter-out -D_FORTIFY_SOURCE=2,$(CFLAGS))
@ -58,6 +64,7 @@ else ifneq ($(findstring Darwin,$(shell uname -a)),)
endif endif
else ifneq ($(findstring FreeBSD,$(shell uname -o)),) else ifneq ($(findstring FreeBSD,$(shell uname -o)),)
system_platform = freebsd system_platform = freebsd
MANDIR = share/man/man6
else ifneq ($(findstring Haiku,$(shell uname -o)),) else ifneq ($(findstring Haiku,$(shell uname -o)),)
system_platform = haiku system_platform = haiku
else ifneq ($(findstring MINGW,$(shell uname -a)),) else ifneq ($(findstring MINGW,$(shell uname -a)),)

View File

@ -17,8 +17,6 @@ You can find netplay games by joining the [retroarch discord channel](https://di
### Options available: ### Options available:
- Color, Sex or Skynet team modes. - Color, Sex or Skynet team modes.
- No monster mode.
- Drop bomb button autofire.
### Packages available: ### Packages available:

View File

@ -46,7 +46,7 @@ EOF
mkdir $DEST mkdir $DEST
mkdir $DEST/MrBoom-src-$VERSION mkdir $DEST/MrBoom-src-$VERSION
cp -rf * $DEST/MrBoom-src-$VERSION/ cp -rf * $DEST/MrBoom-src-$VERSION/
rm -rf $DEST/MrBoom-src-$VERSION/sdl $DEST/MrBoom-src-$VERSION/tools $DEST/MrBoom-src-$VERSION/*.yml rm -rf $DEST/MrBoom-src-$VERSION/TODO $DEST/MrBoom-src-$VERSION/memoryMap.log $DEST/MrBoom-src-$VERSION/sdl $DEST/MrBoom-src-$VERSION/tools $DEST/MrBoom-src-$VERSION/*.yml
cd $DEST cd $DEST
rm ~/Downloads/MrBoom-src-$VERSION.tar* rm ~/Downloads/MrBoom-src-$VERSION.tar*
tar cf ~/Downloads/MrBoom-src-$VERSION.tar * tar cf ~/Downloads/MrBoom-src-$VERSION.tar *