aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-19 08:45:56 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-19 08:45:56 +0000
commita92ee89da8a27fd8689ec5d3fcdc9b5605445997 (patch)
treefbcb2212f833ecad9e4397c1df5cb323e042ae51 /x11-toolkits
parent58f5309790856545b0d22811aa566ebe765542e1 (diff)
downloadports-a92ee89da8a27fd8689ec5d3fcdc9b5605445997.tar.gz
ports-a92ee89da8a27fd8689ec5d3fcdc9b5605445997.zip
Notes
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: