Missing gettext MODULE.
Add PORTHOME to prevent warnings. Don't force compiler optimisations.
This commit is contained in:
parent
2250aee456
commit
5c6a06e862
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/07/08 13:52:46 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2013/07/08 14:15:08 ajacoutot Exp $
|
||||
|
||||
COMMENT = 2D RTS space combat game
|
||||
DISTNAME = spacezero-0.84.01
|
||||
CATEGORIES = games x11
|
||||
REVISION = 0
|
||||
|
||||
HOMEPAGE = http://spacezero.sourceforge.net/
|
||||
|
||||
@ -14,8 +15,10 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB += Xrandr Xrender alut atk-1.0 c cairo fontconfig freetype
|
||||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
||||
WANTLIB += gtk-x11-2.0 intl m openal pango-1.0 pangocairo-1.0
|
||||
WANTLIB += pangoft2-1.0 pthread vorbisfile z
|
||||
WANTLIB += gtk-x11-2.0 m openal pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pthread vorbisfile z
|
||||
|
||||
MODULES = devel/gettext
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=spacezero/}
|
||||
|
||||
@ -28,6 +31,7 @@ MAKE_FLAGS = CC="${CC}" INSTALL_DATA_DIR=${PREFIX}/share/spacezero
|
||||
|
||||
NO_TEST = Yes
|
||||
WRKDIST = ${WRKDIR}/spacezero
|
||||
PORTHOME = ${WRKDIST}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/spacezero ${PREFIX}/bin
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2013/07/08 13:52:46 bcallah Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2013/07/08 14:15:08 ajacoutot Exp $
|
||||
--- Makefile.orig Thu Jul 4 19:52:52 2013
|
||||
+++ Makefile Thu Jul 4 19:53:09 2013
|
||||
@@ -31,7 +31,7 @@ GTKFLAGS12=`gtk-config --libs`
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2013/07/08 13:52:46 bcallah Exp $
|
||||
LDFLAGS= -lm -lpthread $(SOUNDFLAGS) $(GTKLIBS)
|
||||
LDFLAGS12= -lm -lpthread $(SOUNDFLAGS) $(GTKLIBS12)
|
||||
-CFLAGS= -Wall -O3 -I./include -DDATADIR=\"$(DATADIR)\" -DINSTALL_DATA_DIR=\"$(INSTALL_DATA_DIR)\"
|
||||
+CFLAGS= -Wall -O2 -pipe -I./include -DDATADIR=\"$(DATADIR)\" -DINSTALL_DATA_DIR=\"$(INSTALL_DATA_DIR)\"
|
||||
+CFLAGS += -Wall -I./include -DDATADIR=\"$(DATADIR)\" -DINSTALL_DATA_DIR=\"$(INSTALL_DATA_DIR)\"
|
||||
CFLAGS12= -Wall -O3 -I./include -DGTK12 -DDATADIR=\"$(DATADIR)\" -DINSTALL_DATA_DIR=\"$(INSTALL_DATA_DIR)\"
|
||||
|
||||
PROGRAM=$(BINDIR)/spacezero
|
||||
|
Loading…
Reference in New Issue
Block a user