From 0b993133373ac6243b9fc3e7861de573658991c7 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 18 Mar 2008 19:14:28 +0000 Subject: [PATCH] - honor cflags - remove trailing whitespace from DESCR ok ajacoutot@ --- archivers/ripole/Makefile | 5 ++++- archivers/ripole/patches/patch-Makefile | 11 +++++++++++ archivers/ripole/pkg/DESCR | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 archivers/ripole/patches/patch-Makefile diff --git a/archivers/ripole/Makefile b/archivers/ripole/Makefile index 5b4f8ce31d9..460d172741b 100644 --- a/archivers/ripole/Makefile +++ b/archivers/ripole/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2007/10/25 10:40:32 merdely Exp $ +# $OpenBSD: Makefile,v 1.2 2008/03/18 19:14:28 jasper Exp $ COMMENT= extract attachments from OLE2 data files DISTNAME= ripole-0.2.0 +PKGNAME= ${DISTNAME}p0 CATEGORIES= archivers HOMEPAGE= http://www.pldaniels.com/ripole/ @@ -22,6 +23,8 @@ MASTER_SITES= ${HOMEPAGE} \ ALL_TARGET= default NO_REGRESS= Yes +MAKE_ENV= CFLAGS="${CFLAGS}" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ripole ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ripole diff --git a/archivers/ripole/patches/patch-Makefile b/archivers/ripole/patches/patch-Makefile new file mode 100644 index 00000000000..469d5674158 --- /dev/null +++ b/archivers/ripole/patches/patch-Makefile @@ -0,0 +1,11 @@ +$OpenBSD: patch-Makefile,v 1.1 2008/03/18 19:14:28 jasper Exp $ +--- Makefile.orig Mon Dec 12 04:06:21 2005 ++++ Makefile Tue Mar 18 19:51:24 2008 +@@ -1,6 +1,6 @@ + + OBJS= ole.o olestream-unwrap.o bytedecoders.o logger.o pldstr.o bt-int.o +-CFLAGS=-Wall -g -O2 -I. ++CFLAGS+=-Wall -g -I. + + + .c.o: diff --git a/archivers/ripole/pkg/DESCR b/archivers/ripole/pkg/DESCR index ad517bbb563..a02309a2efe 100644 --- a/archivers/ripole/pkg/DESCR +++ b/archivers/ripole/pkg/DESCR @@ -1,2 +1,2 @@ -ripOLE is a small program/library designed to pull out attachments from +ripOLE is a small program/library designed to pull out attachments from OLE2 data files (ie, MS Office documents).