summaryrefslogtreecommitdiff
path: root/games/gtkmagnetic
diff options
context:
space:
mode:
authorgrant <grant>2004-07-03 15:30:53 +0000
committergrant <grant>2004-07-03 15:30:53 +0000
commit92056b758df39aae5528369789853b6105d9168e (patch)
tree50499cb5d0c8b8b7a6783e4de8d8df98c7bc91ae /games/gtkmagnetic
parent04de5026ba24230867358a1325d4130785f2a5f5 (diff)
downloadpkgsrc-92056b758df39aae5528369789853b6105d9168e.tar.gz
this needs -lCrun on Solaris when built with SunPro.
Diffstat (limited to 'games/gtkmagnetic')
-rw-r--r--games/gtkmagnetic/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gtkmagnetic/Makefile b/games/gtkmagnetic/Makefile
index 43c47315c21..0d18b9b0a28 100644
--- a/games/gtkmagnetic/Makefile
+++ b/games/gtkmagnetic/Makefile
@@ -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 @@ USE_GNU_TOOLS+= make
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