aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-11-15 00:16:56 +0800
committerijliao <ijliao@FreeBSD.org>2003-11-15 00:16:56 +0800
commit6c968d5c057e17660334b17d668e7aef30b0927c (patch)
tree82c169b7b58d4f4ca21f937b86185e793b1bf9b9 /math
parent3895056c0a4db3d7819ef94888713b68a6719187 (diff)
downloadfreebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.tar.gz
freebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.tar.zst
freebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.zip
fix build on -current
fix dependency (typo)
Diffstat (limited to 'math')
-rw-r--r--math/gracetmpl/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile
index f51ab8eebce9..d8cc2be153d4 100644
--- a/math/gracetmpl/Makefile
+++ b/math/gracetmpl/Makefile
@@ -8,13 +8,13 @@
PORTNAME= gracetmpl
PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-BUILD_DEPNEDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
-RUN_DEPNEDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy way to use existing grace-files as a template
@@ -23,11 +23,16 @@ USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_PYTHON= yes
USE_GMAKE= yes
-CFLAGS+= "${CPPFLAGS}"
-MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= all pythonwrap
INSTALL_TARGET= install python_install
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+CFLAGS+= "${CPPFLAGS}"
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
+.endif
+
post-extract:
@${CP} -f ${WRKSRC}/Makefile.defs.tmpl ${WRKSRC}/Makefile.defs
@@ -44,4 +49,4 @@ post-install:
@${CP} ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>