aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgfx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgfx/Makefile')
-rw-r--r--graphics/libgfx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/libgfx/Makefile b/graphics/libgfx/Makefile
index eebc16026ea..1ba14543b03 100644
--- a/graphics/libgfx/Makefile
+++ b/graphics/libgfx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libgfx
DISTVERSION= 1.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/ CENKES
@@ -37,6 +37,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|\.a|.so|g;/RANLIB/d;s|[(]AR[)] cru|{CC} \
${CFLAGS} ${LDFLAGS} -shared $${GUI_LIBS} -lgzstream -o|'\
${WRKSRC}/src/${MAKEFILE}
+ @${REINPLACE_CMD} -e '6115s|-lfltk|`fltk-config --ldflags`|' \
+ ${WRKSRC}/configure
do-install:
@cd ${WRKSRC}/include/gfx/&&${COPYTREE_SHARE} . ${PREFIX}/include/gfx/