summaryrefslogtreecommitdiff
path: root/games/lbreakout/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/lbreakout/Makefile')
-rw-r--r--games/lbreakout/Makefile11
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"