diff options
author | marino <marino> | 2012-05-16 20:41:08 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-16 20:41:08 +0000 |
commit | 5256856b4073fd84360b068a84de879fe290010b (patch) | |
tree | 329fea070cdd159cbfec9887ecfddb21f378371f /games/glaxium | |
parent | 43102d5024e18c25d9f5c3dd191915a6405c2017 (diff) | |
download | pkgsrc-5256856b4073fd84360b068a84de879fe290010b.tar.gz |
games/glaxium: Fix indirect linking on DragonFly
Diffstat (limited to 'games/glaxium')
-rw-r--r-- | games/glaxium/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile index b4d69448307..9a69b5029dd 100644 --- a/games/glaxium/Makefile +++ b/games/glaxium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2011/01/13 13:37:44 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2012/05/16 20:41:08 marino Exp $ # DISTNAME= glaxium_0.5 @@ -16,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_TOOLS+= gmake USE_LANGUAGES= c c++ -CONFIGURE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} +CONFIGURE_ENV+= X11_LDFLAGS=${X_LDFLAGS:Q} BUILD_TARGET= glaxium @@ -31,6 +31,13 @@ INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ exec_prefix=${DESTDIR}${PREFIX} \ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "DragonFly" +X_LDFLAGS= ${X11_LDFLAGS} -lm -lstdc++ +.else +X_LDFLAGS= ${X11_LDFLAGS} +.endif + .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" |