aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2002-07-16 14:53:46 +0800
committermikeh <mikeh@FreeBSD.org>2002-07-16 14:53:46 +0800
commit304382a7efc207de692a931e84a65276c618895f (patch)
treed3f7de98dbd46051b4a5e812e2d86bc42e7925b3 /graphics
parentbe8beaf8ef56bf1eed2c715041a7af753ab727f0 (diff)
downloadfreebsd-ports-gnome-304382a7efc207de692a931e84a65276c618895f.tar.gz
freebsd-ports-gnome-304382a7efc207de692a931e84a65276c618895f.tar.zst
freebsd-ports-gnome-304382a7efc207de692a931e84a65276c618895f.zip
Fix for xforms-1.0.
Diffstat (limited to 'graphics')
-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)