diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-04-07 12:43:47 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-04-07 12:43:47 +0000 |
commit | b9bbb4fe57c08ccee90c14c6cd87677ac1c80146 (patch) | |
tree | d7d02e55f639d9c2fdf1ec8d2908113b792235a2 /lang/f2c/Makefile | |
parent | 7f2f6948bde33331567e7656c5999f7427dcebb4 (diff) | |
download | pkgsrc-b9bbb4fe57c08ccee90c14c6cd87677ac1c80146.tar.gz |
build and install shared libs as well as the static ones. add nb1 to the
version.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r-- | lang/f2c/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index f2c8e29a158..179ea55b4bf 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2001/03/05 16:41:58 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2001/04/07 12:43:47 dmcmahill Exp $ DISTNAME= f2c-20001205 +PKGNAME= f2c-20001205nb1 WRKSRC= ${WRKDIR}/f2c CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -24,6 +25,11 @@ COMMENT= Fortran to C compiler including a script to emulate f77 CONFLICTS= egcs-current-19980608 +F2CMAJOR= 0 +F2CMINOR= 0 +MAKE_ENV+= F2CMAJOR=${F2CMAJOR} F2CMINOR=${F2CMINOR} +PLIST_SUBST+= F2CMAJOR=${F2CMAJOR} F2CMINOR=${F2CMINOR} + post-extract: @${RM} ${WRKSRC}/index.html @${GUNZIP_CMD} ${WRKSRC}/*.gz @@ -35,7 +41,12 @@ post-extract: post-patch: @cd ${WRKSRC} && ${CC} -o chktypes chktypes.c ${WRKSRC}/chktypes -v - @${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h - @${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h + @${CP} -f ${WRKSRC}/libF77/signal1.h0 ${WRKSRC}/libF77/signal1.h + @${CP} -f ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h + @${CP} -f ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h + @${ECHO} "major=${F2CMAJOR}" > ${WRKSRC}/libF77/shlib_version + @${ECHO} "minor=${F2CMINOR}" >> ${WRKSRC}/libF77/shlib_version + @${ECHO} "major=${F2CMAJOR}" > ${WRKSRC}/libI77/shlib_version + @${ECHO} "minor=${F2CMINOR}" >> ${WRKSRC}/libI77/shlib_version .include "../../mk/bsd.pkg.mk" |