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)"
DESCRIPTION="Make the laser reach the target by rotating mirrors. Beware of \
overheating!"
HOMEPAGE="http://www.artsoft.org/mirrormagic/"
HOMEPAGE="https://www.artsoft.org/mirrormagic/"
COPYRIGHT="1989-2003 Artsoft Entertainment"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-2.0.2.tar.gz"
REVISION="2"
SOURCE_URI="https://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-$portVersion.tar.gz"
CHECKSUM_SHA256="79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2"
PATCHES="mirrormagic-2.0.2.patchset"
PATCHES="mirrormagic-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
@@ -16,21 +16,21 @@ PROVIDES="
app:mirrormagic = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
haiku
lib:libSDL_1.2
lib:libSDL_image_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
haiku_devel
devel:libSDL
devel:libSDL_image
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:gcc
cmd:ld
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: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 20 Jan 2014 21:07:38 +0100