diff --git a/templates/mng.pre_configure b/templates/mng.pre_configure deleted file mode 100644 index 01a9c2eb083..00000000000 --- a/templates/mng.pre_configure +++ /dev/null @@ -1,9 +0,0 @@ -# -# Automake'ify MNG. -# - -cd $wrksrc && \ - $ln_cmd -sf makefiles/configure.in . && \ - $ln_cmd -sf makefiles/Makefile.am . - -. $XBPS_TMPLHELPDIR/automake.sh diff --git a/templates/mng.tmpl b/templates/mng.tmpl index 230d0f19003..aebdc8fa3c9 100644 --- a/templates/mng.tmpl +++ b/templates/mng.tmpl @@ -14,3 +14,14 @@ long_desc=" uses the zlib(3) compression library, and optionally the JPEG library by the Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management library by Marti Maria Saguar." + +pre_configure() +{ + # Automake'ify MNG. + + cd $wrksrc && \ + $ln_cmd -sf makefiles/configure.in . && \ + $ln_cmd -sf makefiles/Makefile.am . + + . $XBPS_TMPLHELPDIR/automake.sh +}