aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-06-19 16:45:56 +0800
committerkris <kris@FreeBSD.org>2003-06-19 16:45:56 +0800
commit22967da4bcdf1e332d69c67a2cefaee3c6daa062 (patch)
tree1e0362ba9694e56d335d56388e0edd146fc4dfca /x11-toolkits
parent1f1e07f404deec0957e5ce63267e13bf8d0c8bff (diff)
downloadfreebsd-ports-gnome-22967da4bcdf1e332d69c67a2cefaee3c6daa062.tar.gz
freebsd-ports-gnome-22967da4bcdf1e332d69c67a2cefaee3c6daa062.tar.zst
freebsd-ports-gnome-22967da4bcdf1e332d69c67a2cefaee3c6daa062.zip
Fix the build
Submitted by: markp, Cyrille Lefevre <cyrille.lefevre@laposte.net> PR: ports/47861
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/flvw/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-toolkits/flvw/Makefile b/x11-toolkits/flvw/Makefile
index 717601504d08..23dc1d217589 100644
--- a/x11-toolkits/flvw/Makefile
+++ b/x11-toolkits/flvw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flvw
PORTVERSION= 20000224
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,12 +16,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= cyrille.lefevre@laposte.net
COMMENT= Virtual Widgets for the Fast Light ToolKit
-BROKEN= "Does not compile"
-
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
WRKSRC= ${WRKDIR}/${PORTNAME}/1.0
USE_X_PREFIX= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKE_ARGS= DIRS=src
@@ -33,6 +33,12 @@ INC_SUBDIR= include/FL
INSTALLS_SHLIB= yes
+post-patch:
+ ${REINPLACE_CMD} 's/^#define fl_inactive inactive//' \
+ ${WRKSRC}/FL/Flv_List.H
+ ${REINPLACE_CMD} 's/\(friend\) \(Flv_Style_List\)/\1 class \2/' \
+ ${WRKSRC}/FL/Flv_Style.H
+
post-install: symlink-inc install-doc
symlink-inc: