diff options
-rwxr-xr-x | xgensum | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xgensum b/xgensum index d744b4e..58b57e8 100755 --- a/xgensum +++ b/xgensum @@ -28,6 +28,11 @@ fi . "$template" +# Try to source the build-style as well. This is required for R-cran packages. +if [ -f ${XBPS_DISTDIR}/common/environment/build-style/${build_style}.sh ]; then + . ${XBPS_DISTDIR}/common/environment/build-style/${build_style}.sh +fi + XBPS_SRCDISTDIR=$($XBPS_DISTDIR/xbps-src show-var XBPS_SRCDISTDIR | tail -1) srcdir="$XBPS_SRCDISTDIR/$pkgname-$version" |