ports/78192: Update port: sysutils/boxbackup - Fix compile issues
James O'Gorman
jamesog at jogbert.net
Mon Feb 28 13:10:17 UTC 2005
>Number: 78192
>Category: ports
>Synopsis: Update port: sysutils/boxbackup - Fix compile issues
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 28 13:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: James O'Gorman
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD lazarou.jogbert.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #3: Sat Feb 12 14:32:15 GMT 2005 root at lazarou.jogbert.net:/usr/obj/usr/src/sys/LAZAROU i386
>Description:
Modified Perl path in the configure scripts as the original author harcoded /usr/bin/perl or just perl.
Added two new patch files - files/patch-makebuildenv.pl and files/patch-makeparcels.pl
>How-To-Repeat:
Use #!/usr/bin/perl and (cd ../..; perl ./script.pl) within the Perl scripts - this seems to cause build errors on pointyhat. Using /usr/local/bin/perl should fix this.
>Fix:
Apply the following diff, which adds two new patchfiles to ${PKGDIR}/files:
diff -urN boxbackup.orig/Makefile boxbackup/Makefile
--- boxbackup.orig/Makefile Mon Feb 28 12:43:02 2005
+++ boxbackup/Makefile Mon Feb 28 12:40:45 2005
@@ -1,14 +1,13 @@
-# vim: ts=4
# New ports collection makefile for: boxbackup
# Date created: 19 December 2004
-# Whom: James O'Gorman <james at netinertia.co.uk>
+# Whom: James O'Gorman <james at netinertia.co.uk>
#
# $FreeBSD: ports/sysutils/boxbackup/Makefile,v 1.2 2005/02/26 06:05:28 sem Exp $
#
-PORTNAME= boxbackup
+PORTNAME= boxbackup
PORTVERSION= 0.09
-CATEGORIES= sysutils
+CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
.if defined(CLIENT_ONLY) && !defined(SERVER_ONLY)
@@ -18,15 +17,15 @@
.endif
EXTRACT_SUFX= .tgz
-MAINTAINER= james at netinertia.co.uk
-COMMENT= An open source, completely automatic on-line backup system for UNIX
+MAINTAINER= james at netinertia.co.uk
+COMMENT= An open source, completely automatic on-line backup system for UNIX
USE_OPENSSL= yes
HAS_CONFIGURE= yes
USE_REINPLACE= yes
USE_RC_SUBR= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
.if defined(CLIENT_ONLY) && !defined(SERVER_ONLY)
CONFLICTS= boxbackup-[0-9]* boxbackup-server-[0-9]*
diff -urN boxbackup.orig/files/patch-makebuildenv.pl boxbackup/files/patch-makebuildenv.pl
--- boxbackup.orig/files/patch-makebuildenv.pl Thu Jan 1 01:00:00 1970
+++ boxbackup/files/patch-makebuildenv.pl Mon Feb 28 12:38:27 2005
@@ -0,0 +1,17 @@
+--- makebuildenv.pl.orig Mon Feb 28 12:32:44 2005
++++ makebuildenv.pl Mon Feb 28 12:36:07 2005
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/local/bin/perl
+ # distribution boxbackup-0.09
+ #
+ #
+@@ -1006,7 +1006,7 @@
+ }
+
+ # and finally a target for rebuilding the build system
+- print MAKE "\nbuildsystem:\n\t(cd ../..; perl ./infrastructure/makebuildenv.pl)\n\n";
++ print MAKE "\nbuildsystem:\n\t(cd ../..; /usr/local/bin/perl ./infrastructure/makebuildenv.pl)\n\n";
+
+ close MAKE;
+
diff -urN boxbackup.orig/files/patch-makeparcels.pl boxbackup/files/patch-makeparcels.pl
--- boxbackup.orig/files/patch-makeparcels.pl Thu Jan 1 01:00:00 1970
+++ boxbackup/files/patch-makeparcels.pl Mon Feb 28 12:38:45 2005
@@ -0,0 +1,8 @@
+--- makeparcels.pl.orig Mon Feb 28 12:37:27 2005
++++ makeparcels.pl Mon Feb 28 12:37:42 2005
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/local/bin/perl
+ # distribution boxbackup-0.09
+ #
+ #
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list