diff options
author | grant <grant@pkgsrc.org> | 2004-07-03 15:30:53 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-07-03 15:30:53 +0000 |
commit | bc78bb079921ba807dcf7e0b79c5c7a0ce355a4c (patch) | |
tree | 50499cb5d0c8b8b7a6783e4de8d8df98c7bc91ae /games/gtkmagnetic | |
parent | ea0762f36401a0e3cd12814a2ab706242b1d591c (diff) | |
download | pkgsrc-bc78bb079921ba807dcf7e0b79c5c7a0ce355a4c.tar.gz |
this needs -lCrun on Solaris when built with SunPro.
Diffstat (limited to 'games/gtkmagnetic')
-rw-r--r-- | games/gtkmagnetic/Makefile | 8 |
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 |