summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-01-10 20:25:57 +0000
committerwiz <wiz@pkgsrc.org>2015-01-10 20:25:57 +0000
commitc2ac712b39a2b6aafc11ccab7cc91295b95c71ed (patch)
tree9edc5deb6bd29c3392a5b7f649efa2876ea316da /games
parent91e25b247be383fbd2479639b8e1d92b8753d9b4 (diff)
downloadpkgsrc-c2ac712b39a2b6aafc11ccab7cc91295b95c71ed.tar.gz
Try making this parallel jobs safe for joerg.
Diffstat (limited to 'games')
-rw-r--r--games/lgogdownloader/Makefile5
-rw-r--r--games/lgogdownloader/distinfo3
-rw-r--r--games/lgogdownloader/patches/patch-Makefile80
3 files changed, 83 insertions, 5 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile
index a918db74124..cf136a37c02 100644
--- a/games/lgogdownloader/Makefile
+++ b/games/lgogdownloader/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/01/09 14:29:10 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2015/01/10 20:25:57 wiz Exp $
DISTNAME= lgogdownloader-2.20
CATEGORIES= games
@@ -11,9 +11,6 @@ COMMENT= Download games from GOG
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
-# error: unable to open output file 'obj/Debug/main.o': 'No such file or directory'
-MAKE_JOBS_SAFE= no
-
#WRKSRC= ${WRKDIR}/lgogdownloader
USE_LANGUAGES= c++
USE_TOOLS+= gmake gunzip
diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo
index 216c1fb4186..02cd7868da7 100644
--- a/games/lgogdownloader/distinfo
+++ b/games/lgogdownloader/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2014/12/07 09:20:19 wiz Exp $
+$NetBSD: distinfo,v 1.9 2015/01/10 20:25:57 wiz Exp $
SHA1 (lgogdownloader-2.20.tar.gz) = ddc7dc85d1fdd6cae252e90f1348c096857f0200
RMD160 (lgogdownloader-2.20.tar.gz) = ab0fcd6af42bb444ab282c7ff260c614cf4869d0
Size (lgogdownloader-2.20.tar.gz) = 41830 bytes
+SHA1 (patch-Makefile) = bce350d291f9bba78bff6f704ac0ee4e60bbb457
diff --git a/games/lgogdownloader/patches/patch-Makefile b/games/lgogdownloader/patches/patch-Makefile
new file mode 100644
index 00000000000..1e5d54808bd
--- /dev/null
+++ b/games/lgogdownloader/patches/patch-Makefile
@@ -0,0 +1,80 @@
+$NetBSD: patch-Makefile,v 1.3 2015/01/10 20:25:57 wiz Exp $
+
+Make sure target directories exist before files are created in there.
+
+--- Makefile.orig 2014-12-06 18:11:17.000000000 +0000
++++ Makefile
+@@ -69,28 +69,28 @@ debug: before_debug out_debug after_debu
+ out_debug: $(OBJ_DEBUG) $(DEP_DEBUG)
+ $(LD) $(LDFLAGS_DEBUG) $(LIBDIR_DEBUG) $(OBJ_DEBUG) $(LIB_DEBUG) -o $(OUT_DEBUG)
+
+-$(OBJDIR_DEBUG)/main.o: main.cpp
++$(OBJDIR_DEBUG)/main.o: main.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(VERSION) $(INC_DEBUG) -c main.cpp -o $(OBJDIR_DEBUG)/main.o
+
+-$(OBJDIR_DEBUG)/src/api.o: src/api.cpp
++$(OBJDIR_DEBUG)/src/api.o: src/api.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/api.cpp -o $(OBJDIR_DEBUG)/src/api.o
+
+-$(OBJDIR_DEBUG)/src/downloader.o: src/downloader.cpp
++$(OBJDIR_DEBUG)/src/downloader.o: src/downloader.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/downloader.cpp -o $(OBJDIR_DEBUG)/src/downloader.o
+
+-$(OBJDIR_DEBUG)/src/progressbar.o: src/progressbar.cpp
++$(OBJDIR_DEBUG)/src/progressbar.o: src/progressbar.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/progressbar.cpp -o $(OBJDIR_DEBUG)/src/progressbar.o
+
+-$(OBJDIR_DEBUG)/src/util.o: src/util.cpp
++$(OBJDIR_DEBUG)/src/util.o: src/util.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/util.cpp -o $(OBJDIR_DEBUG)/src/util.o
+
+-$(OBJDIR_DEBUG)/src/blacklist.o: src/blacklist.cpp
++$(OBJDIR_DEBUG)/src/blacklist.o: src/blacklist.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/blacklist.cpp -o $(OBJDIR_DEBUG)/src/blacklist.o
+
+-$(OBJDIR_DEBUG)/src/gamefile.o: src/gamefile.cpp
++$(OBJDIR_DEBUG)/src/gamefile.o: src/gamefile.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/gamefile.cpp -o $(OBJDIR_DEBUG)/src/gamefile.o
+
+-$(OBJDIR_DEBUG)/src/gamedetails.o: src/gamedetails.cpp
++$(OBJDIR_DEBUG)/src/gamedetails.o: src/gamedetails.cpp before_debug
+ $(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c src/gamedetails.cpp -o $(OBJDIR_DEBUG)/src/gamedetails.o
+
+ clean_debug:
+@@ -115,28 +115,28 @@ release: before_release out_release afte
+ out_release: $(OBJ_RELEASE) $(DEP_RELEASE)
+ $(LD) $(LDFLAGS_RELEASE) $(LIBDIR_RELEASE) $(OBJ_RELEASE) $(LIB_RELEASE) -o $(OUT_RELEASE)
+
+-$(OBJDIR_RELEASE)/main.o: main.cpp
++$(OBJDIR_RELEASE)/main.o: main.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(VERSION) $(INC_RELEASE) -c main.cpp -o $(OBJDIR_RELEASE)/main.o
+
+-$(OBJDIR_RELEASE)/src/api.o: src/api.cpp
++$(OBJDIR_RELEASE)/src/api.o: src/api.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/api.cpp -o $(OBJDIR_RELEASE)/src/api.o
+
+-$(OBJDIR_RELEASE)/src/downloader.o: src/downloader.cpp
++$(OBJDIR_RELEASE)/src/downloader.o: src/downloader.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/downloader.cpp -o $(OBJDIR_RELEASE)/src/downloader.o
+
+-$(OBJDIR_RELEASE)/src/progressbar.o: src/progressbar.cpp
++$(OBJDIR_RELEASE)/src/progressbar.o: src/progressbar.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/progressbar.cpp -o $(OBJDIR_RELEASE)/src/progressbar.o
+
+-$(OBJDIR_RELEASE)/src/util.o: src/util.cpp
++$(OBJDIR_RELEASE)/src/util.o: src/util.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/util.cpp -o $(OBJDIR_RELEASE)/src/util.o
+
+-$(OBJDIR_RELEASE)/src/blacklist.o: src/blacklist.cpp
++$(OBJDIR_RELEASE)/src/blacklist.o: src/blacklist.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/blacklist.cpp -o $(OBJDIR_RELEASE)/src/blacklist.o
+
+-$(OBJDIR_RELEASE)/src/gamefile.o: src/gamefile.cpp
++$(OBJDIR_RELEASE)/src/gamefile.o: src/gamefile.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/gamefile.cpp -o $(OBJDIR_RELEASE)/src/gamefile.o
+
+-$(OBJDIR_RELEASE)/src/gamedetails.o: src/gamedetails.cpp
++$(OBJDIR_RELEASE)/src/gamedetails.o: src/gamedetails.cpp before_release
+ $(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/gamedetails.cpp -o $(OBJDIR_RELEASE)/src/gamedetails.o
+
+ clean_release: