summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/qslim/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile
index 30a04c658233..756003bf5191 100644
--- a/graphics/qslim/Makefile
+++ b/graphics/qslim/Makefile
@@ -18,8 +18,6 @@ LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms \
tiff:${PORTSDIR}/graphics/tiff \
png:${PORTSDIR}/graphics/png
-BROKEN= "Does not find libforms.a to link against"
-
USE_MESA= yes
USE_XLIB= yes
CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
@@ -31,6 +29,9 @@ BUILD_WRKSRC= ${WRKSRC}/mixkit/src
USE_GMAKE= yes
ALL_TARGET= # empty
+post-patch:
+ @${PERL} -pi -e "s,\@XFORMS_LIBS\@,${X11BASE}/lib/libforms.a,g" ${CONFIGURE_WRKSRC}/mix-config.in
+
post-build:
@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
@(cd ${BUILD_WRKSRC}/../../tools/filters ; ${GMAKE} all)