From 493b6612f434d86334e8fc3a367675f98aef5303 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 25 Nov 2004 15:27:27 +0000 Subject: Allow mspack.h to be included in C++ source code (replace "this" with "self"). --- archivers/libmspack/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archivers/libmspack') diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile index 1e132669bcf0..b7b8518b66d2 100644 --- a/archivers/libmspack/Makefile +++ b/archivers/libmspack/Makefile @@ -7,6 +7,7 @@ PORTNAME= libmspack PORTVERSION= 0.0.20040308 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.kyz.uklinux.net/downloads/ DISTNAME= ${PORTNAME}-${PORTVERSION}alpha @@ -14,8 +15,13 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}alpha MAINTAINER= fjoe@FreeBSD.org COMMENT= A library for Microsoft compression formats +USE_REINPLACE= yes USE_LIBTOOL_VER= 15 CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes +post-patch: + @${REINPLACE_CMD} -e 's,\*this,*self,'\ + -e 's,@param\( *\)this,@param\1self,' ${WRKSRC}/mspack/mspack.h + .include -- cgit v1.2.3