pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/gtkmagnetic this needs -lCrun on Solaris when bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/087c820f6904
branches:  trunk
changeset: 477478:087c820f6904
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jul 03 15:30:53 2004 +0000

description:
this needs -lCrun on Solaris when built with SunPro.

diffstat:

 games/gtkmagnetic/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r df1f1b3dad51 -r 087c820f6904 games/gtkmagnetic/Makefile
--- a/games/gtkmagnetic/Makefile        Sat Jul 03 14:13:06 2004 +0000
+++ b/games/gtkmagnetic/Makefile        Sat Jul 03 15:30:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/06/26 09:16:10 grant Exp $
+# $NetBSD: Makefile,v 1.3 2004/07/03 15:30:53 grant Exp $
 #
 
 DISTNAME=              Magnetic22Src
@@ -16,6 +16,12 @@
 ALL_TARGET=            gtkmagnetic
 WRKSRC=                        ${WRKDIR}/Gtk
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:MSun)
+LIBS.SunOS+=           -lCrun
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/gtkmagnetic ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtkmagnetic



Home | Main Index | Thread Index | Old Index