aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/glove/Makefile9
-rw-r--r--math/thx_1138/Makefile9
2 files changed, 10 insertions, 8 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
diff --git a/math/thx_1138/Makefile b/math/thx_1138/Makefile
index f466a5df994e..b2743f140f80 100644
--- a/math/thx_1138/Makefile
+++ b/math/thx_1138/Makefile
@@ -13,7 +13,7 @@ DISTNAME= ${PORTNAME:S,_,-,}_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 \
@@ -49,13 +49,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