1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Unbreak after fltk update

- Fix dependencies
- Bump PORTREVISION

Approved by:	portmgr
This commit is contained in:
Pietro Cerutti 2008-09-08 20:48:45 +00:00
parent 32410765ec
commit 10416a2b6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220300
2 changed files with 22 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= cinepaint
PORTVERSION= 0.22
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
@ -18,7 +18,8 @@ COMMENT= An editing tool used for painting and retouching of movies
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
lcms.1:${PORTSDIR}/graphics/lcms \
tiff.4:${PORTSDIR}/graphics/tiff
tiff.4:${PORTSDIR}/graphics/tiff \
ftgl.2:${PORTSDIR}/graphics/ftgl
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
@ -36,20 +37,24 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-1
OPTIONS= OPENEXR "Use OpenEXR" on
BROKEN= does not compile
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if defined(WITH_OPENEXR)
LIB_DEPENDS+= IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
fltk.1:${PORTSDIR}/x11-toolkits/fltk-threads
LIB_DEPENDS+= IlmImf.6:${PORTSDIR}/graphics/OpenEXR
BUILD_DEPENDS+= fltk-threads>0:${PORTSDIR}/x11-toolkits/fltk-threads
RUN_DEPENDS+= fltk-threads>0:${PORTSDIR}/x11-toolkits/fltk-threads
CONFIGURE_ARGS+= --with-openexr-prefix=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/OpenEXR"
CFLAGS+= -I${LOCALBASE}/include/openEXR
PLIST_SUB+= OPENEXR:=""
.else
PLIST_SUB+= OPENEXR:="@comment "
.endif
CONFIGURE_ENV+= CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
@${REINPLACE_CMD} -e \
's| -Wall||' \

View File

@ -0,0 +1,11 @@
--- plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp.orig 2008-09-03 02:07:08.000000000 +0200
+++ plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp 2008-09-03 02:08:02.000000000 +0200
@@ -226,7 +226,7 @@
int awake(void)
{
- Fl::awake(0);
+ Fl::awake((void *)0);
return 0;
}
int leerWait(void) { return 0; }