diff options
author | rillig <rillig@pkgsrc.org> | 2007-06-06 22:05:45 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-06-06 22:05:45 +0000 |
commit | e01fdac24637952a3d02f726263a99634cbbda87 (patch) | |
tree | e06fbcd9d2540147e139ecb81ee26cb4cfb2a8e3 /emulators/zsnes | |
parent | 46b1b802a353a671bba82c95d0af829df22f0c3f (diff) | |
download | pkgsrc-e01fdac24637952a3d02f726263a99634cbbda87.tar.gz |
Made the package build for me. The error message was:
./parsegen -D__UNIXSDL__ -D__OPENGL__ [...]
Shared object "libz.so.1" not found
Diffstat (limited to 'emulators/zsnes')
-rw-r--r-- | emulators/zsnes/Makefile | 5 | ||||
-rw-r--r-- | emulators/zsnes/distinfo | 3 | ||||
-rw-r--r-- | emulators/zsnes/patches/patch-makefilein | 15 |
3 files changed, 20 insertions, 3 deletions
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile index 6d9a47b2813..bd27f60c281 100644 --- a/emulators/zsnes/Makefile +++ b/emulators/zsnes/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/zsnes_1_51/src 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 --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo index 81126765183..b6dbba65b31 100644 --- a/emulators/zsnes/distinfo +++ b/emulators/zsnes/distinfo @@ -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-ac) = 451e3a56da55d6d58ecc2c335b804ba374ed31e5 SHA1 (patch-ad) = 6244778c7f5c3c5d8c4f040760f8243161ae886d SHA1 (patch-ae) = 81236ed52fe7095f6317f655374234ce17cf30dd SHA1 (patch-af) = f223476d4ef39a9fe9d60b827fc7c7e2d77f26ee +SHA1 (patch-makefilein) = d75b9b99888106bfbc7c5d12b311527103ceaccd diff --git a/emulators/zsnes/patches/patch-makefilein b/emulators/zsnes/patches/patch-makefilein new file mode 100644 index 00000000000..32190d92d27 --- /dev/null +++ b/emulators/zsnes/patches/patch-makefilein @@ -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\ |