openbsd-ports/games/capitan-sevilla/patches/patch-Makefile
stsp fa26d661f8 Captain Sevilla is a platform game with hero Mariano Lopez, a sausage
delivery man who is transformed into Captain 'S' after eating
radioactive sausages.  The game's villain is Dr. Torrebruno, an eminent
nuclear physicist with a strange mental disease. The game can be played
in Spanish and in English.

ok rpointel benoit
2011-06-05 11:13:47 +00:00

31 lines
804 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2011/06/05 11:13:47 stsp Exp $
--- Makefile.orig Fri Apr 10 12:01:26 2009
+++ Makefile Sat Jun 4 22:17:54 2011
@@ -1,7 +1,5 @@
CC = g++
-CFLAGS = -g3 -Iinclude -Isrc/include
-LDFLAGS = -Llib -lalogg `allegro-config --libs` -lalfont -lpng -lz
PACKAGE = Capitan
VERSION = 1.0
@@ -53,7 +51,6 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.cpp
$(EXE): $(OBJECTS)
$(CC) $^ -o $(EXE) $(LDFLAGS)
- $(STRIP) $@
clean:
$(RM) $(OBJDIR)/*.o
@@ -88,8 +85,8 @@ uninstall:
@$(RM) "$(ICNDIR)/$(ICON)" "$(APPDIR)/$(DESKTOP)" "$(APPDIR)/$(DESKTOP-DOC)"
deps:
- cd dependencies/alfont && make install
- cd dependencies/alogg && make install
+ cd dependencies/alfont && $(MAKE) install
+ cd dependencies/alogg && $(MAKE) install
depsclean:
cd dependencies/alfont && make clean