aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/qslim/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile
index 33497c7b2b86..32bd69a11210 100644
--- a/graphics/qslim/Makefile
+++ b/graphics/qslim/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms \
+LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms \
gnugetopt:${PORTSDIR}/devel/libgnugetopt \
tiff:${PORTSDIR}/graphics/tiff \
png:${PORTSDIR}/graphics/png
@@ -24,14 +24,14 @@ USE_XLIB= yes
CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
GNU_CONFIGURE= yes
CONFIGURE_ENV= \
- CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib ${PTHREAD_LIBS}"
BUILD_WRKSRC= ${WRKSRC}/mixkit/src
USE_GMAKE= yes
ALL_TARGET= # empty
post-patch:
- @${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,${X11BASE}/lib/libforms.a,g" ${CONFIGURE_WRKSRC}/mix-config.in
+ @${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,-lforms -lformsGL -lXpm,g" ${CONFIGURE_WRKSRC}/mix-config.in
post-build:
@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)