aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2011-12-09 20:04:44 +0800
committeroliver <oliver@FreeBSD.org>2011-12-09 20:04:44 +0800
commite1c23f621630e1d514657d9233a0bdf530579f2f (patch)
tree20d614441ef58b5561a2d885d8d82b9fca4b6915 /devel
parenta4ca4ddc1c54de6d5f7870bb7d151569aac67a6f (diff)
downloadfreebsd-ports-gnome-e1c23f621630e1d514657d9233a0bdf530579f2f.tar.gz
freebsd-ports-gnome-e1c23f621630e1d514657d9233a0bdf530579f2f.tar.zst
freebsd-ports-gnome-e1c23f621630e1d514657d9233a0bdf530579f2f.zip
fix CLANG-build
PR: ports/160921 Feature safe: yes
Diffstat (limited to 'devel')
-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