summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/ghostpdl.vars14
-rw-r--r--vars/ghostscript.vars14
2 files changed, 14 insertions, 14 deletions
diff --git a/vars/ghostpdl.vars b/vars/ghostpdl.vars
new file mode 100644
index 00000000..73380d08
--- /dev/null
+++ b/vars/ghostpdl.vars
@@ -0,0 +1,14 @@
+#
+# set +o errexit -o noglob -o nounset is assumed.
+#
+
+pkg_ghostpdl_configure_patch_pre() {
+ if ! rtl_fileop rm "${PKG_BASE_DIR}/ghostpdl-${PKG_VERSION}/libpng" \
+ || ! rtl_fileop rm "${PKG_BASE_DIR}/ghostpdl-${PKG_VERSION}/zlib" \
+ || ! rtl_fileop rm "${PKG_PREFIX}/freetype" \
+ || ! rtl_fileop rm "${PKG_PREFIX}/lcms2mt"; then
+ return 1;
+ fi;
+};
+
+# vim:filetype=sh textwidth=0
diff --git a/vars/ghostscript.vars b/vars/ghostscript.vars
deleted file mode 100644
index c604580a..00000000
--- a/vars/ghostscript.vars
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# set +o errexit -o noglob -o nounset is assumed.
-#
-
-pkg_ghostscript_configure_patch_pre() {
- if ! rtl_fileop rm "${PKG_BASE_DIR}/ghostscript-9.26/libpng" \
- || ! rtl_fileop rm "${PKG_BASE_DIR}/ghostscript-9.26/zlib" \
- || ! rtl_fileop rm "${PKG_PREFIX}/freetype" \
- || ! rtl_fileop rm "${PKG_PREFIX}/lcms2mt"; then
- return 1;
- fi;
-};
-
-# vim:filetype=sh textwidth=0