Bug 15622 - Build fails in ports/editors/staroffice5 with USE_CDROM
Summary: Build fails in ports/editors/staroffice5 with USE_CDROM
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-22 08:30 UTC by Udo Schweigert
Modified: 2006-11-18 23:30 UTC (History)
0 users

See Also:


Attachments
file.diff (320 bytes, patch)
1999-12-22 08:30 UTC, Udo Schweigert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Udo Schweigert 1999-12-22 08:30:01 UTC
When doing make USE_CDROM=yes in /usr/ports/editors/staroffice5 I get

===>   staroffice-5.1a depends on executable: unzip - found
ln: illegal option -- v
usage: ln [-fs] file1 file2
       ln [-fs] file ... directory

Fix: Apply this patch:
How-To-Repeat: 
As described.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-12-22 21:22:23 UTC
State Changed
From-To: open->closed

Duplicate of ports/15623. 
Comment 2 cpiazza freebsd_committer freebsd_triage 1999-12-22 23:47:02 UTC
State Changed
From-To: closed->open

15622 was closed as a duplicate of 15623, and vice versa.  Leave 
one of them open. 
Comment 3 dkwiebe 1999-12-23 15:34:24 UTC
Looks great!  I just discovered yesterday that it had a problem, and had
not made a diff up yet.  Thanks!   BTW. I have another small patch here
which somebody sent me.  Can we just run it through here to??  It allows
those of us with small /tmp directories.

--- Makefile.orig       Tue Dec 21 09:29:46 1999
+++ Makefile    Tue Dec 21 09:53:16 1999
@@ -30,6 +30,7 @@
 NO_BUILD=      yes
 DIST_SUBDIR=   staroffice5
 WRKSRC=                ${WRKDIR}/so51inst
+TEMPDIR=       /tmp
 
 .include <bsd.port.pre.mk>
 
@@ -60,12 +61,12 @@
 
 do-install:
        @${ECHO} "${WRKDIR}/tmp" >> /compat/linux/etc/ld.so.conf
-       @${ECHO} "/tmp/sv001.tmp" >> /compat/linux/etc/ld.so.conf
-      
@PATH=${PATH}:/tmp/sv001.tmp:/usr/compat/linux/tmp/sv001.tmp:/usr/compat/linux/tmp:/tmp
-      
@LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/tmp:${WRKDIR}/tmp:/usr/lib:/lib:/tmp:/usr/compat/linux/lib
+       @${ECHO} "${TEMPDIR}/sv001.tmp" >> /compat/linux/etc/ld.so.conf
+      
@PATH=${PATH}:${TEMPDIR}/sv001.tmp:/usr/compat/linux/tmp/sv001.tmp:/usr/compat/linux/tmp:/tmp
+      
@LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${TEMPDIR}:${WRKDIR}/tmp:/usr/lib:/lib:/tmp:/usr/compat/linux/lib
        @/usr/compat/linux/sbin/ldconfig
        @${CAT} ${PKGDIR}/MESSAGE
-       @-${WRKDIR}/so51inst/office51/setup /net
+       @-TEMP=${TEMPDIR} ${WRKDIR}/so51inst/office51/setup /net
 
 # A seperate target as we need to be able to run this stuff
independantly.
 post-install:

Udo Schweigert wrote:
> 
> >Number:         15622
> >Category:       ports
> >Synopsis:       Build fails in ports/editors/staroffice5 with USE_CDROM
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-ports
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Wed Dec 22 00:30:01 PST 1999
> >Closed-Date:
> >Last-Modified:
> >Originator:     Udo Schweigert
> >Release:        FreeBSD 3.4-STABLE i386
> >Organization:
> Siemens AG, ZT IK 3
> >Environment:
> 
> FreeBSD 3.4-STABLE i386
> 
> >Description:
> 
> When doing make USE_CDROM=yes in /usr/ports/editors/staroffice5 I get
> 
> ===>   staroffice-5.1a depends on executable: unzip - found
> ln: illegal option -- v
> usage: ln [-fs] file1 file2
>        ln [-fs] file ... directory
> 
> >How-To-Repeat:
> 
> As described.
> 
> >Fix:
> 
> Apply this patch:
> 
> --- Makefile.orig       Wed Dec 15 00:14:28 1999
> +++ Makefile    Tue Dec 21 14:47:13 1999
> @@ -47,7 +47,7 @@
>  .if defined(USE_CDROM)
>  do-extract:
>         @${MKDIR} ${WRKSRC}/office51
> -       @cd ${WRKSRC}/office51 && ${LN} -s -v /cdrom/linux/office51/* .
> +       @cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .
>  .endif
> 
>  post-extract:
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
Comment 4 Steve Price freebsd_committer freebsd_triage 1999-12-23 20:03:45 UTC
State Changed
From-To: open->closed

Duplicate of ports/15623. 

Comment 5 dkwiebe 1999-12-30 18:49:58 UTC
Just wanting to say that this patch does apparently fix the problem,
somebody else confirmed it for me, I don't have the cdrom so...  I don't
know what the reason was for the -v option...

Darren Wiebe
dkwiebe@hagenhomes.com

Udo Schweigert wrote:
> 
> >Number:         15622
> >Category:       ports
> >Synopsis:       Build fails in ports/editors/staroffice5 with USE_CDROM
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-ports
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Wed Dec 22 00:30:01 PST 1999
> >Closed-Date:
> >Last-Modified:
> >Originator:     Udo Schweigert
> >Release:        FreeBSD 3.4-STABLE i386
> >Organization:
> Siemens AG, ZT IK 3
> >Environment:
> 
> FreeBSD 3.4-STABLE i386
> 
> >Description:
> 
> When doing make USE_CDROM=yes in /usr/ports/editors/staroffice5 I get
> 
> ===>   staroffice-5.1a depends on executable: unzip - found
> ln: illegal option -- v
> usage: ln [-fs] file1 file2
>        ln [-fs] file ... directory
> 
> >How-To-Repeat:
> 
> As described.
> 
> >Fix:
> 
> Apply this patch:
> 
> --- Makefile.orig       Wed Dec 15 00:14:28 1999
> +++ Makefile    Tue Dec 21 14:47:13 1999
> @@ -47,7 +47,7 @@
>  .if defined(USE_CDROM)
>  do-extract:
>         @${MKDIR} ${WRKSRC}/office51
> -       @cd ${WRKSRC}/office51 && ${LN} -s -v /cdrom/linux/office51/* .
> +       @cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .
>  .endif
> 
>  post-extract:
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
Comment 6 dfilter service freebsd_committer freebsd_triage 2006-11-18 23:25:48 UTC
miwi        2006-11-18 23:25:42 UTC

  FreeBSD ports repository

  Modified files:
    textproc             Makefile 
  Added files:
    textproc/ruby-erbscan Makefile distinfo pkg-descr pkg-plist 
  Log:
  erbscan is ERB::Compiler accelerator
  8 times faster than erb.rb(Ruby1.8.0)
  
  require "erb" # slow
  require "erb_fast" # FAST!!!!
  
  Author: MoonWolf <moonwolf@moonwolf.com>
  WWW:    http://raa.ruby-lang.org/project/erbscan/
  
  PR:             ports/15622
  Submitted by:   Shinsuke Matsui (<smatsui at karashi.org>)
  
  Revision  Changes    Path
  1.1077    +1 -0      ports/textproc/Makefile
  1.1       +40 -0     ports/textproc/ruby-erbscan/Makefile (new)
  1.1       +3 -0      ports/textproc/ruby-erbscan/distinfo (new)
  1.1       +8 -0      ports/textproc/ruby-erbscan/pkg-descr (new)
  1.1       +5 -0      ports/textproc/ruby-erbscan/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"