aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/oo2c/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index 96ac69bfb8e4..7f9bd6d9a4fa 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -3,6 +3,7 @@
PORTNAME= oo2c
PORTVERSION= 2.1.11
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= SF/ooc/ooc2/${PORTVERSION}
DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
@@ -26,6 +27,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
ONLY_FOR_ARCHS= i386 amd64 ia64
+post-patch:
+ @${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
+ ${WRKSRC}/Makefile.config.in
+
.include <bsd.port.pre.mk>
.if ${ARCH} == i386