aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libmspack/Makefile6
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>