New review comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/23646#discussion_r458753760 Comment: I'll apply this on top of your change: ```diff diff --git a/srcpkgs/NetworkManager-l2tp/template b/srcpkgs/NetworkManager-l2tp/template index 16bd590a97..5fc1665715 100644 --- a/srcpkgs/NetworkManager-l2tp/template +++ b/srcpkgs/NetworkManager-l2tp/template @@ -18,11 +18,7 @@ checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94 # Automatically determine the pppd plugin dir location, but will need to # revbump this package whenever version of ppp package is updated. do_configure() { - if [ "$CROSS_BUILD" ]; then - PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/${XBPS_CROSS_TRIPLET}/usr/include/pppd/patchlevel.h) - else - PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h) - fi + PPP_VERSION=$(awk '/VERSION/{print $3}' ${XBPS_CROSS_BASE}/usr/include/pppd/patchlevel.h) ./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION} } ``` Thought?