Depend on argp and build corewars-cmd. -largp is a hack for now,
upstream should fix the configure script and learn how to build a convient library as well. Raised as part of PR 37581.
This commit is contained in:
parent
20f982d8ca
commit
5ef33b071f
2 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.18 2006/10/04 21:43:00 wiz Exp $
|
# $NetBSD: Makefile,v 1.19 2007/12/22 01:48:55 joerg Exp $
|
||||||
|
|
||||||
DISTNAME= corewars-0.9.13
|
DISTNAME= corewars-0.9.13
|
||||||
PKGREVISION= 1
|
PKGREVISION= 1
|
||||||
|
@ -9,8 +9,17 @@ MAINTAINER= rh@NetBSD.org
|
||||||
HOMEPAGE= http://sal.math.ualberta.ca/
|
HOMEPAGE= http://sal.math.ualberta.ca/
|
||||||
COMMENT= Programs on a virtual machine, fighting each other
|
COMMENT= Programs on a virtual machine, fighting each other
|
||||||
|
|
||||||
|
PKG_DESTDIR_SUPPORT= user-destdir
|
||||||
|
|
||||||
USE_TOOLS+= gmake
|
USE_TOOLS+= gmake
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
|
.if ${OPSYS} != "Linux"
|
||||||
|
MAKE_FLAGS+= corewars_cmd_LDFLAGS=-largp
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include "../../devel/argp/buildlink3.mk"
|
||||||
.include "../../x11/gtk/buildlink3.mk"
|
.include "../../x11/gtk/buildlink3.mk"
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
@comment $NetBSD: PLIST,v 1.2 2005/01/14 09:16:04 adam Exp $
|
@comment $NetBSD: PLIST,v 1.3 2007/12/22 01:48:56 joerg Exp $
|
||||||
bin/corewars
|
bin/corewars
|
||||||
|
bin/corewars-cmd
|
||||||
man/man6/corewars.6
|
man/man6/corewars.6
|
||||||
man/man6/corewars-cmd.6
|
man/man6/corewars-cmd.6
|
||||||
share/corewars/abez.cw
|
share/corewars/abez.cw
|
||||||
|
|
Loading…
Reference in a new issue