diff options
author | Max Khon <fjoe@FreeBSD.org> | 2004-11-25 15:27:27 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2004-11-25 15:27:27 +0000 |
commit | 493b6612f434d86334e8fc3a367675f98aef5303 (patch) | |
tree | 9b1ab449e176e952706766befcc1549639ad2e8a | |
parent | 23003b882528f3d38b8eb60fbb793a162f224695 (diff) | |
download | ports-493b6612f434d86334e8fc3a367675f98aef5303.tar.gz ports-493b6612f434d86334e8fc3a367675f98aef5303.zip |
Allow mspack.h to be included in C++ source code
(replace "this" with "self").
Notes
Notes:
svn path=/head/; revision=122407
-rw-r--r-- | archivers/libmspack/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 <bsd.port.mk> |