Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 07:40:02 -0800 (PST)
From:      Darren Wiebe <dkwiebe@heartland.ab.ca>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/15622: Build fails in ports/editors/staroffice5 with USE_CDROM
Message-ID:  <199912221540.HAA06811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/15622; it has been noted by GNATS.

From: Darren Wiebe <dkwiebe@heartland.ab.ca>
To: ust@cert.siemens.de
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/15622: Build fails in ports/editors/staroffice5 with USE_CDROM
Date: Thu, 23 Dec 1999 08:34:24 -0700

 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
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912221540.HAA06811>