diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-05-15 01:37:46 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-05-15 01:37:46 +0000 |
commit | 3e37f6d2cf475faf1744570cb9a3204eee5b0eb3 (patch) | |
tree | 7156dc33e6df8e6dc374fade27e1ad72b9e36ec2 /sysutils/boxbackup-devel/files | |
parent | 57e90b44bab95db44e9d656f3d84896c008e48ed (diff) | |
download | ports-3e37f6d2cf475faf1744570cb9a3204eee5b0eb3.tar.gz ports-3e37f6d2cf475faf1744570cb9a3204eee5b0eb3.zip |
- Add autoconf patches
- Reorganize Makefile
PR: 96692
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=162388
Diffstat (limited to 'sysutils/boxbackup-devel/files')
-rw-r--r-- | sysutils/boxbackup-devel/files/patch-configure.ac | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/boxbackup-devel/files/patch-configure.ac b/sysutils/boxbackup-devel/files/patch-configure.ac new file mode 100644 index 000000000000..e74613444509 --- /dev/null +++ b/sysutils/boxbackup-devel/files/patch-configure.ac @@ -0,0 +1,35 @@ +--- configure.ac.orig Thu Mar 16 22:26:39 2006 ++++ configure.ac Thu Mar 16 22:28:31 2006 +@@ -2,7 +2,7 @@ + # Process this file with autoconf to produce a configure script. + + AC_PREREQ(2.59) +-AC_INIT([Box Backup], 0.09, [box@fluffy.co.uk]) ++AC_INIT([Box Backup], 0.10, [box@fluffy.co.uk]) + AC_CONFIG_SRCDIR([lib/common/Box.h]) + AC_CONFIG_HEADERS([lib/common/BoxConfig.h]) + +@@ -26,6 +26,12 @@ + # Use -rdynamic if we have gcc. This is needed for backtrace + AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic']) + fi ++AC_PATH_PROG([PERL], [perl], [no]) ++if test "x$PERL" != "xno"; then ++ AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["$PERL"], [Location of the perl executable]) ++else ++ AC_MSG_ERROR([[perl executable was not found]]) ++fi + + + ### Checks for libraries. +@@ -208,8 +214,8 @@ + + # Configure the Box build system + echo +-perl ./infrastructure/makebuildenv.pl && +- perl ./infrastructure/makeparcels.pl ++$PERL ./infrastructure/makebuildenv.pl && ++ $PERL ./infrastructure/makeparcels.pl + + # Write summary of important info + cat <<EOC |