aboutsummaryrefslogtreecommitdiffstats
path: root/math/rkward-kde4/Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-05-26 00:25:03 +0800
committerthierry <thierry@FreeBSD.org>2007-05-26 00:25:03 +0800
commit2d1cd3bc4d5da20263ccb25086f3602e6c252d8c (patch)
treeffbb76ce1efdae831b2460dae86642506c1783ea /math/rkward-kde4/Makefile
parent7f907fd6c9a8f65c345789210c135462df870ebf (diff)
downloadfreebsd-ports-gnome-2d1cd3bc4d5da20263ccb25086f3602e6c252d8c.tar.gz
freebsd-ports-gnome-2d1cd3bc4d5da20263ccb25086f3602e6c252d8c.tar.zst
freebsd-ports-gnome-2d1cd3bc4d5da20263ccb25086f3602e6c252d8c.zip
Upgrade to 0.4.7a.
Changelog at <https://sourceforge.net/project/shownotes.php?release_id=506492>.
Diffstat (limited to 'math/rkward-kde4/Makefile')
-rw-r--r--math/rkward-kde4/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/math/rkward-kde4/Makefile b/math/rkward-kde4/Makefile
index ac8aa6fa5b59..a391c8a197a4 100644
--- a/math/rkward-kde4/Makefile
+++ b/math/rkward-kde4/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= rkward
-PORTVERSION= 0.4.7
-PORTREVISION= 1
+DISTVERSION= 0.4.7a
+PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,12 +24,14 @@ USE_GETTEXT= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --disable-fast-perl
INSTALLS_ICONS= yes
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran#42
-F77= gfortran#42
+FC= gfortran42
+F77= gfortran42
+FORTRANLIBDIR2= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``/../../../
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
@@ -48,6 +50,8 @@ PHP2FIX= rkward/plugins/makemakefileam.php \
pre-configure:
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
${PHP2FIX:S|^|${WRKSRC}/|}
+ ${REINPLACE_CMD} -e 's|-lgfortran|-L${FORTRANLIBDIR2} -lgfortran|' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|rkward po doc debian|rkward po debian|' \
${WRKSRC}/Makefile.in