diff options
author | ade <ade@FreeBSD.org> | 2011-03-24 05:34:44 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2011-03-24 05:34:44 +0800 |
commit | f5ba86d42cfe0e0d8aeb1e6a0cac3a090478afb8 (patch) | |
tree | 9cbdb6868387bbccb9b06e7ea44aae8a977c06ff /graphics | |
parent | 2ebc7c71b9b3091f1e79cba36d7c00d73d2b2522 (diff) | |
download | freebsd-ports-gnome-f5ba86d42cfe0e0d8aeb1e6a0cac3a090478afb8.tar.gz freebsd-ports-gnome-f5ba86d42cfe0e0d8aeb1e6a0cac3a090478afb8.tar.zst freebsd-ports-gnome-f5ba86d42cfe0e0d8aeb1e6a0cac3a090478afb8.zip |
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>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libvisual04/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/libvisual04/Makefile b/graphics/libvisual04/Makefile index 99c04046c8b0..2760c967d4f6 100644 --- a/graphics/libvisual04/Makefile +++ b/graphics/libvisual04/Makefile @@ -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> |