diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-11-15 00:16:56 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-11-15 00:16:56 +0800 |
commit | 6c968d5c057e17660334b17d668e7aef30b0927c (patch) | |
tree | 82c169b7b58d4f4ca21f937b86185e793b1bf9b9 | |
parent | 3895056c0a4db3d7819ef94888713b68a6719187 (diff) | |
download | freebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.tar.gz freebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.tar.zst freebsd-ports-gnome-6c968d5c057e17660334b17d668e7aef30b0927c.zip |
fix build on -current
fix dependency (typo)
-rw-r--r-- | math/gracetmpl/Makefile | 17 |
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> |