aboutsummaryrefslogtreecommitdiff
path: root/devel/libzvbi
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2011-12-09 12:04:44 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2011-12-09 12:04:44 +0000
commit43e194e1e9d43e61f49b2e97b13db0271043de12 (patch)
tree81a4cdcde67c85aa3ef8b9713cda3a0f4570146e /devel/libzvbi
parent40fd4f61cbcd069b9a68aa6071b64668baf8f181 (diff)
downloadports-43e194e1e9d43e61f49b2e97b13db0271043de12.tar.gz
ports-43e194e1e9d43e61f49b2e97b13db0271043de12.zip
Notes
Diffstat (limited to 'devel/libzvbi')
-rw-r--r--devel/libzvbi/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/devel/libzvbi/Makefile b/devel/libzvbi/Makefile
index 24d58c345b19..7fb550f613b5 100644
--- a/devel/libzvbi/Makefile
+++ b/devel/libzvbi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libzvbi
PORTVERSION= 0.2.33
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/zapping/zvbi/${PORTVERSION}
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
@@ -30,10 +30,7 @@ CFLAGS+= -I${LOCALBASE}/include
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-# @${REINPLACE_CMD} -e 's|malloc\.h|stdlib\.h|g' \
-# ${WRKSRC}/contrib/atsc-cc.c
-# @${REINPLACE_CMD} -e 's|-I\.|& -I\.\./src|g' \
-# ${WRKSRC}/contrib/Makefile.in
+ @${REINPLACE_CMD} -e 's|#cpu(\([^)]*\))|defined(__\1__)|g' ${WRKSRC}/src/misc.h
@${REINPLACE_CMD} -e 's|zvbi-atsc-cc$$(EXEEXT)||g; \
s|zvbi-atsc-cc\.1||g' ${WRKSRC}/contrib/Makefile.in