Fix for xforms-1.0.

This commit is contained in:
Mike Heffner 2002-07-16 06:53:46 +00:00
parent 5be21f25be
commit 63f77e315d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63071

View file

@ -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)