diff options
author | rh <rh@pkgsrc.org> | 2003-01-25 12:09:11 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2003-01-25 12:09:11 +0000 |
commit | 8848fd4e62127f16e0b7038e08178e7c1d1a1bf2 (patch) | |
tree | a88cf1a758da6fa464ac061af324a5a1ddba6718 /games/lbreakout/Makefile | |
parent | 0770db0d9c847e52d5fac4eefe0170e370cb284e (diff) | |
download | pkgsrc-8848fd4e62127f16e0b7038e08178e7c1d1a1bf2.tar.gz |
Dynamically add -lpth only if PTHREAD_TYPE is "pth".
Bump PKGREVISION.
Diffstat (limited to 'games/lbreakout/Makefile')
-rw-r--r-- | games/lbreakout/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/games/lbreakout/Makefile b/games/lbreakout/Makefile index f4b3bb55b1c..1247747bf33 100644 --- a/games/lbreakout/Makefile +++ b/games/lbreakout/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2002/08/27 18:56:45 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2003/01/25 12:09:11 rh Exp $ # DISTNAME= lbreakout-010315 +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/} @@ -12,7 +13,15 @@ COMMENT= breakout-style arcade game USE_BUILDLINK2= YES USE_X11= YES GNU_CONFIGURE= YES +CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" CONFIGURE_ARGS+= --disable-sound .include "../../devel/SDL/buildlink2.mk" + +PTHREAD_LIBS= -lpthread + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth") +PTHREAD_LIBS+= -lpth +.endif + .include "../../mk/bsd.pkg.mk" |