From 6c968d5c057e17660334b17d668e7aef30b0927c Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 14 Nov 2003 16:16:56 +0000 Subject: fix build on -current fix dependency (typo) --- math/gracetmpl/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'math/gracetmpl/Makefile') 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 + +.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 +.include -- cgit