mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Fix include file path conflict with other libvisual ports.
Submitter also takes maintainership from ports@ PR: 154530 Submitted by: Chris Rees <utisoft (at) gmail (dot) com>
This commit is contained in:
parent
3cf6caf06c
commit
abc3976ac8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271561
@ -7,12 +7,12 @@
|
||||
|
||||
PORTNAME= libvisual
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
PKGNAMESUFFIX= 04
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= utisoft@gmail.com
|
||||
COMMENT= Abstraction library that sits between apps and visual plugin
|
||||
|
||||
USE_AUTOTOOLS= libtool
|
||||
@ -23,12 +23,18 @@ CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
USE_LDCONFIG= yes
|
||||
PLIST_SUB= VER=-0.4
|
||||
VER= -0.4
|
||||
PLIST_SUB= VER=${VER}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g;s|-O3|${CFLAGS}|g' \
|
||||
${WRKSRC}/libvisual/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|sys/sched.h||g' -e '/test.*==/s|==|=|g' ${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|$$<|$${.ALLSRC}|g'
|
||||
@${FIND} ${WRKSRC} -name "*.h" | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e 's#include <libvisual/#include <libvisual${VER}/libvisual/#'
|
||||
@${MKDIR} -p ${WRKSRC}/${PORTNAME}/${PORTNAME}${VER}
|
||||
@${LN} -s ${WRKSRC}/${PORTNAME} \
|
||||
${WRKSRC}/${PORTNAME}/${PORTNAME}${VER}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user