Make this port build with egcs' f77.
This commit is contained in:
parent
cbd6508c9d
commit
a7a343660d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20041
2 changed files with 22 additions and 2 deletions
|
@ -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* \
|
||||
|
|
|
@ -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* \
|
||||
|
|
Loading…
Reference in a new issue