mirrormagic: fix references to libSDL*, cleanup (#4289)

This commit is contained in:
Schrijvers Luc
2019-10-16 17:31:31 +02:00
committed by Jérôme Duval
parent a5340eced6
commit 4a2d12692f
2 changed files with 14 additions and 37 deletions

View File

@@ -1,13 +1,13 @@
SUMMARY="A game like Deflektor (C64) or Mindbender (Amiga)" SUMMARY="A game like Deflektor (C64) or Mindbender (Amiga)"
DESCRIPTION="Make the laser reach the target by rotating mirrors. Beware of \ DESCRIPTION="Make the laser reach the target by rotating mirrors. Beware of \
overheating!" overheating!"
HOMEPAGE="http://www.artsoft.org/mirrormagic/" HOMEPAGE="https://www.artsoft.org/mirrormagic/"
COPYRIGHT="1989-2003 Artsoft Entertainment" COPYRIGHT="1989-2003 Artsoft Entertainment"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="2"
SOURCE_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-2.0.2.tar.gz" SOURCE_URI="https://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-$portVersion.tar.gz"
CHECKSUM_SHA256="79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2" CHECKSUM_SHA256="79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2"
PATCHES="mirrormagic-2.0.2.patchset" PATCHES="mirrormagic-$portVersion.patchset"
ARCHITECTURES="x86_gcc2" ARCHITECTURES="x86_gcc2"
@@ -16,21 +16,21 @@ PROVIDES="
app:mirrormagic = $portVersion app:mirrormagic = $portVersion
" "
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix haiku
lib:libsdl$secondaryArchSuffix lib:libSDL_1.2
lib:libsdl_image$secondaryArchSuffix lib:libSDL_image_1.2
lib:libsdl_mixer$secondaryArchSuffix lib:libSDL_mixer_1.2
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel haiku_devel
devel:libsdl$secondaryArchSuffix devel:libSDL
devel:libsdl_image$secondaryArchSuffix devel:libSDL_image
devel:libsdl_mixer$secondaryArchSuffix devel:libSDL_mixer
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix cmd:gcc
cmd:ld$secondaryArchSuffix cmd:ld
cmd:make cmd:make
" "

View File

@@ -1,26 +1,3 @@
From 5e9e47e0aa86949c07c14a0012180614695ba74b Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 20 Jan 2014 20:59:52 +0100
Subject: Remove hardcoded -lm
diff --git a/src/Makefile b/src/Makefile
index 6ab93a5..6944437 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -113,7 +113,7 @@ OPTIONS = -O3 -Wall
endif
CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
-LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
+LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS)
SRCS = main.c \
--
1.8.3.4
From 587046f039a7a29ed96383d9d73b1d605a398701 Mon Sep 17 00:00:00 2001 From 587046f039a7a29ed96383d9d73b1d605a398701 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk> From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 20 Jan 2014 21:07:38 +0100 Date: Mon, 20 Jan 2014 21:07:38 +0100