diff options
author | adam <adam@pkgsrc.org> | 2012-05-02 08:26:21 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-05-02 08:26:21 +0000 |
commit | 5142451a13180727adbc286a4dcf663c296c5471 (patch) | |
tree | 5bf99e163fb07e699de706bc7f708428c4e86d14 | |
parent | b13f725b72dd0c63fd2c51b52b4d03c9f89f635c (diff) | |
download | pkgsrc-5142451a13180727adbc286a4dcf663c296c5471.tar.gz |
Also enable ZLIB support
-rw-r--r-- | archivers/upx/distinfo | 3 | ||||
-rw-r--r-- | archivers/upx/patches/patch-src_Makefile | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/upx/distinfo b/archivers/upx/distinfo index c8642027119..fe1a645fc62 100644 --- a/archivers/upx/distinfo +++ b/archivers/upx/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/05/02 06:45:14 adam Exp $ +$NetBSD: distinfo,v 1.9 2012/05/02 08:26:21 adam Exp $ SHA1 (lzma443.tar.bz2) = 1667abfb40da82d53fa2690f3cd58a0e7e751e55 RMD160 (lzma443.tar.bz2) = f4f19c9f9bd8ded26318208e75ac14c8869c4ef8 @@ -7,5 +7,6 @@ SHA1 (upx-3.08-src.tar.bz2) = 5ccbc0aacfd3aaee407eceab06ec5989bf1d153a RMD160 (upx-3.08-src.tar.bz2) = 3fd7b3c4c66a90ddd622b5fb0ba0502c7145da62 Size (upx-3.08-src.tar.bz2) = 877691 bytes SHA1 (patch-ab) = 710c49b92caeed1ac196abb5d45cfaff01faea6c +SHA1 (patch-src_Makefile) = 9b97e10d6b11a75f64c64b49f6c6cd5aa51ddf23 SHA1 (patch-src_p__exe.cpp) = 5455be2fe1e3335c784cb044b31046da2eb40ef4 SHA1 (patch-src_p__exe.h) = 899f6dbc2e90167bd1cc44b0081fc1797d050430 diff --git a/archivers/upx/patches/patch-src_Makefile b/archivers/upx/patches/patch-src_Makefile new file mode 100644 index 00000000000..41b04ad4ad0 --- /dev/null +++ b/archivers/upx/patches/patch-src_Makefile @@ -0,0 +1,14 @@ +$NetBSD: patch-src_Makefile,v 1.1 2012/05/02 08:26:21 adam Exp $ + +Enable ZLIB support. + +--- src/Makefile.orig 2012-05-02 08:09:20.000000000 +0000 ++++ src/Makefile +@@ -57,6 +57,7 @@ ifneq ($(wildcard $(UPX_UCLDIR)/include/ + INCLUDES += -I$(UPX_UCLDIR)/include + LIBS += $(addprefix -L,$(dir $(wildcard $(UPX_UCLDIR)/libucl$(libext) $(UPX_UCLDIR)/src/.libs/libucl$(libext)))) + endif ++DEFS += -DWITH_ZLIB + LIBS += -lucl -lz + # you should set envvar UPX_LZMADIR to point to your unpacked LZMA SDK + include $(top_srcdir)/src/stub/src/c/Makevars.lzma |