diff options
author | marino <marino@pkgsrc.org> | 2012-05-16 14:25:36 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-16 14:25:36 +0000 |
commit | 9f3f981b25d5c0e2f4b22452f498adee2fed15ed (patch) | |
tree | fc7d1b1504bb82440485a905d28dc6d72c2709e0 | |
parent | 396d538b94a5482bd28e8222a237d5978076fa12 (diff) | |
download | pkgsrc-9f3f981b25d5c0e2f4b22452f498adee2fed15ed.tar.gz |
games/stratagus: Fix indirect linking on DragonFly
-rw-r--r-- | games/stratagus/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile index 89081d65e34..2a8edb77bb0 100644 --- a/games/stratagus/Makefile +++ b/games/stratagus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2012/01/13 10:55:08 obache Exp $ +# $NetBSD: Makefile,v 1.23 2012/05/16 14:25:36 marino Exp $ # DISTNAME= stratagus-2.1-src @@ -19,12 +19,19 @@ WRKSRC= ${WRKDIR}/stratagus-040702 USE_TOOLS+= gmake USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes -MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:M*:Q} +MAKE_ENV+= X11_LDFLAGS=${X_LDFLAGS:M*:Q} CONFIGURE_ARGS+= --with-flac --with-mad INSTALLATION_DIRS= bin +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "DragonFly" +X_LDFLAGS= ${X11_LDFLAGS} -lX11 +.else +X_LDFLAGS= ${X11_LDFLAGS} +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus |