75 lines
3.3 KiB
Plaintext
75 lines
3.3 KiB
Plaintext
Index: configure.ac
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -32,13 +32,12 @@ m4_define([magick_version],
|
|
[magick_major_version,magick_minor_version,magick_micro_version,magick_patchlevel_version])
|
|
m4_define([magick_git_revision],
|
|
m4_esyscmd([
|
|
- h=$(git rev-parse --short HEAD)
|
|
- d=$(git log -1 --format=:%cd --date=format:%Y%m%d || date -u +%Y%m%d -r ./m4/version.m4)
|
|
- printf %s "$h$d"
|
|
+ d=$(stat -t %Y%m%d -f %Sm ./m4/version.m4)
|
|
+ printf %s "$d"
|
|
]))
|
|
m4_define([magick_release_date],
|
|
m4_esyscmd([
|
|
- d=$(git log -1 --format=%cd --date=format:%Y-%m-%d || date -u +%F -r ./m4/version.m4)
|
|
+ d=$(stat -t %Y-%m-%d -f %Sm ./m4/version.m4)
|
|
printf %s "$d"
|
|
]))
|
|
|
|
@@ -1166,7 +1165,7 @@ fi
|
|
|
|
# Assume that delegate headers reside under same directory as ImageMagick
|
|
# installation prefix.
|
|
-MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME}-$MAGICK_MAJOR_VERSION $MAGICK_CPPFLAGS"
|
|
+MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME} $MAGICK_CPPFLAGS"
|
|
|
|
#
|
|
# Find the X11 RGB database
|
|
@@ -2867,7 +2866,7 @@ AC_SUBST([PERLMAINCC])
|
|
#
|
|
|
|
# Path to ImageMagick header files
|
|
-INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
|
|
+INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}"
|
|
INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}"
|
|
DEFINE_INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}/"
|
|
case "${build_os}" in
|
|
@@ -2890,7 +2889,7 @@ AC_DEFINE_UNQUOTED([INCLUDEARCH_PATH],["$DEFINE_INCLUD
|
|
AC_SUBST([INCLUDEARCH_PATH])
|
|
|
|
# Subdirectory under lib to place ImageMagick lib files
|
|
-LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_BASE_VERSION}"
|
|
+LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}"
|
|
AC_DEFINE_UNQUOTED([LIBRARY_RELATIVE_PATH],["$LIBRARY_RELATIVE_PATH"],[Subdirectory of lib where ImageMagick architecture dependent files are installed.])
|
|
|
|
# Path to ImageMagick bin directory
|
|
@@ -2981,7 +2980,7 @@ AC_SUBST([FILTER_PATH])
|
|
|
|
#
|
|
# Path to ImageMagick documentation files
|
|
-DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
|
|
+DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}"
|
|
DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}"
|
|
DEFINE_DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}/"
|
|
case "${build_os}" in
|
|
@@ -3001,7 +3000,7 @@ AC_ARG_ENABLE([docs],
|
|
AM_CONDITIONAL([INSTALL_DOC],[test "$wantdocs" = "yes"])
|
|
|
|
# Subdirectory to place architecture-dependent configuration files
|
|
-CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
|
|
+CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}"
|
|
AC_DEFINE_UNQUOTED([CONFIGURE_RELATIVE_PATH],"$CONFIGURE_RELATIVE_PATH",[Subdirectory of lib where architecture-dependent configuration files live.])
|
|
CONFIGURE_PATH="${SYSCONF_DIR}/${CONFIGURE_RELATIVE_PATH}/"
|
|
DEFINE_CONFIGURE_PATH="${SYSCONF_DIR}/${CONFIGURE_RELATIVE_PATH}/"
|
|
@@ -3014,7 +3013,7 @@ AC_DEFINE_UNQUOTED([CONFIGURE_PATH],"$DEFINE_CONFIGURE
|
|
AC_SUBST([CONFIGURE_PATH])
|
|
|
|
# Subdirectory to place architecture-independent configuration files
|
|
-SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
|
|
+SHARE_RELATIVE_PATH="${PACKAGE_NAME}"
|
|
AC_DEFINE_UNQUOTED([SHARE_RELATIVE_PATH],"$SHARE_RELATIVE_PATH",[Subdirectory of lib where architecture-independent configuration files live.])
|
|
SHARE_PATH="${DATA_DIR}/${SHARE_RELATIVE_PATH}"
|
|
DEFINE_SHARE_PATH="${DATA_DIR}/${SHARE_RELATIVE_PATH}/"
|