pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/zsnes Made the package build for me. The err...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a19d4809bd13
branches: trunk
changeset: 529519:a19d4809bd13
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Jun 06 22:05:45 2007 +0000
description:
Made the package build for me. The error message was:
./parsegen -D__UNIXSDL__ -D__OPENGL__ [...]
Shared object "libz.so.1" not found
diffstat:
emulators/zsnes/Makefile | 5 +++--
emulators/zsnes/distinfo | 3 ++-
emulators/zsnes/patches/patch-makefilein | 15 +++++++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diffs (53 lines):
diff -r ed94fd42f5d7 -r a19d4809bd13 emulators/zsnes/Makefile
--- a/emulators/zsnes/Makefile Wed Jun 06 21:29:54 2007 +0000
+++ b/emulators/zsnes/Makefile Wed Jun 06 22:05:45 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2007/04/01 08:44:53 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2007/06/06 22:05:45 rillig Exp $
DISTNAME= zsnes151src
PKGNAME= zsnes-1.51
@@ -18,8 +18,9 @@
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib
-BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
+BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff -r ed94fd42f5d7 -r a19d4809bd13 emulators/zsnes/distinfo
--- a/emulators/zsnes/distinfo Wed Jun 06 21:29:54 2007 +0000
+++ b/emulators/zsnes/distinfo Wed Jun 06 22:05:45 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2007/04/16 16:06:32 joerg Exp $
+$NetBSD: distinfo,v 1.14 2007/06/06 22:05:45 rillig Exp $
SHA1 (zsnes151src.tar.bz2) = 03df35490870c9950d7010747d0546c8525c0362
RMD160 (zsnes151src.tar.bz2) = 337407bf7e5516bcd7bf310c7b17d6d12a948750
@@ -9,3 +9,4 @@
SHA1 (patch-ad) = 6244778c7f5c3c5d8c4f040760f8243161ae886d
SHA1 (patch-ae) = 81236ed52fe7095f6317f655374234ce17cf30dd
SHA1 (patch-af) = f223476d4ef39a9fe9d60b827fc7c7e2d77f26ee
+SHA1 (patch-makefilein) = d75b9b99888106bfbc7c5d12b311527103ceaccd
diff -r ed94fd42f5d7 -r a19d4809bd13 emulators/zsnes/patches/patch-makefilein
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/zsnes/patches/patch-makefilein Wed Jun 06 22:05:45 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-makefilein,v 1.1 2007/06/06 22:05:45 rillig Exp $
+
+When linking a program, the linking flags are needed.
+
+--- Makefile.in.orig 2007-01-24 21:54:12.000000000 +0100
++++ Makefile.in 2007-06-06 23:59:19.000000000 +0200
+@@ -104,7 +104,7 @@ main: makefile.dep $(Z_OBJS)
+ rm -f version.o
+
+ $(PSR): parsegen.cpp
+- @CXX@ @CXXFLAGS@ -o $@ $< -lz
++ @CXX@ @CXXFLAGS@ -o $@ $< @LDFLAGS@ @LIBS@ -lz
+
+ TOOLSEXE=$(TOOL_D)/archopt $(TOOL_D)/cutrtype $(TOOL_D)/extraext\
+ $(TOOL_D)/macroll $(TOOL_D)/minwhite $(TOOL_D)/nreplace\
Home |
Main Index |
Thread Index |
Old Index