tech-pkg: [patch] games/xskat

Subject: [patch] games/xskat
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 06/25/2004 13:43:00
Hi,
I used this patch to successfully install xskat on a Solaris machine. 
The problem is that the Imake CCOPTIONS are the ones for the native 
compiler, but I'd like to use the pkgsrc compiler.
Any comments?
Roland
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/xskat/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 27 May 2004 18:18:07 -0000 1.9
+++ Makefile 25 Jun 2004 11:40:15 -0000
@@ -12,11 +12,14 @@
 COMMENT= Play the card game Skat
 USE_IMAKE= yes
+MAKEFLAGS+= CC=${CC:Q} CCOPTIONS=${CFLAGS:Q}
-.include "../../mk/bsd.pkg.mk"
+.include "../../mk/bsd.prefs.mk"
 .if defined(DEFAULT_IRC_SERVER)
 MAKE_ENV+= IRC_SERVER=${DEFAULT_IRC_SERVER}
 .else
 MAKE_ENV+= IRC_SERVER=irc.fu-berlin.de
 .endif
+
+.include "../../mk/bsd.pkg.mk"

AltStyle によって変換されたページ (->オリジナル) /