diff options
author | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:32:01 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:32:01 +0000 |
commit | a7a343660d3f517d5f38abfe4e22f9ee076ad6e1 (patch) | |
tree | d86874c9f22266f4d3cb561ed22c048d18293f84 /graphics/pgperl | |
parent | cbd6508c9d0fe9c196c44fb215fc3bfd0f3a40f9 (diff) | |
download | ports-a7a343660d3f517d5f38abfe4e22f9ee076ad6e1.tar.gz ports-a7a343660d3f517d5f38abfe4e22f9ee076ad6e1.zip |
Notes
Diffstat (limited to 'graphics/pgperl')
-rw-r--r-- | graphics/pgperl/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile index dfe2a17f470b..e95d82047d5f 100644 --- a/graphics/pgperl/Makefile +++ b/graphics/pgperl/Makefile @@ -3,7 +3,7 @@ # Date created: 22 December 1996 # Whom: jmz # -# $Id: Makefile,v 1.12 1998/11/11 05:37:20 asami Exp $ +# $Id: Makefile,v 1.13 1998/12/05 03:05:26 jmz Exp $ # DISTNAME= PGPLOT-2.08 @@ -24,6 +24,16 @@ SCRIPTS_ENV= PERL=${PERL} MAN3= ExtUtils::F77.3 PGPLOT.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +.if ${OSVERSION} >= 400005 +F2CLIB= -lg2c +.else +F2CLIB= -lf2c +.endif + +post-patch: + (cd ${WRKSRC}/ExtUtils; mv -f F77.pm F77.pm~; ${SED} -e \ + 's/@F2CLIB@/${F2CLIB}/g' F77.pm~ > F77.pm) + post-install: @${MKDIR} ${PREFIX}/share/doc/pgperl @(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \ |