aboutsummaryrefslogtreecommitdiffstats
path: root/math/glove
diff options
context:
space:
mode:
Diffstat (limited to 'math/glove')
-rw-r--r--math/glove/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/math/glove/Makefile b/math/glove/Makefile
index f0e62ab6d114..138a8d44ff5c 100644
--- a/math/glove/Makefile
+++ b/math/glove/Makefile
@@ -13,7 +13,7 @@ DISTNAME= Glove_source-${PORTVERSION}
MAINTAINER= lioux@linf.unb.br
-BUILD_DEPENDS= nonexistent:${JXPORT}:configure \
+BUILD_DEPENDS= ${NONEXISTENT}:${JXPORT}:configure \
makemake:${JXPORT}
LIB_DEPENDS= jx-1_5_3.1:${JXPORT} \
j2dplot-0_6_5.0:${PORTSDIR}/x11-toolkits/libj2dplot \
@@ -48,13 +48,14 @@ EXTRALIBFILES_MAKE_WRKSRC= include/make
# main jx distribution files needed for building
COPY_JXDIRS= include
COPY_JXFILES= Makefile
+
+.include <bsd.port.pre.mk>
+
# main jx distribution port wrksrc
JXPORT= ${PORTSDIR}/x11-toolkits/jx
-JXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3
+JXPORT_WRKSRC!= cd ${JXPORT} && ${MAKE} -V WRKSRC
JX_MAKE_CONSTANTS= j2dplot_constants jparser_constants
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} >= 300000
ALL_TARGET= freebsd3.x
.else