pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/corewars Depend on argp and build corewars-cmd. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a2fb2e124b6
branches:  trunk
changeset: 536763:5a2fb2e124b6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 22 01:48:55 2007 +0000

description:
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.

diffstat:

 games/corewars/Makefile |  11 ++++++++++-
 games/corewars/PLIST    |   3 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 0392df7162be -r 5a2fb2e124b6 games/corewars/Makefile
--- a/games/corewars/Makefile   Sat Dec 22 01:40:20 2007 +0000
+++ b/games/corewars/Makefile   Sat Dec 22 01:48:55 2007 +0000
@@ -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
 PKGREVISION=   1
@@ -9,8 +9,17 @@
 HOMEPAGE=      http://sal.math.ualberta.ca/
 COMMENT=       Programs on a virtual machine, fighting each other
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake
 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 "../../mk/bsd.pkg.mk"
diff -r 0392df7162be -r 5a2fb2e124b6 games/corewars/PLIST
--- a/games/corewars/PLIST      Sat Dec 22 01:40:20 2007 +0000
+++ b/games/corewars/PLIST      Sat Dec 22 01:48:55 2007 +0000
@@ -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-cmd
 man/man6/corewars.6
 man/man6/corewars-cmd.6
 share/corewars/abez.cw



Home | Main Index | Thread Index | Old Index