ports/73003: Update Port: lang/squeak - fix build without X

Chris Burkert chris at chrisburkert.de
Fri Oct 22 13:30:27 UTC 2004


>Number:         73003
>Category:       ports
>Synopsis:       Update Port: lang/squeak - fix build without X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 22 13:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chris Burkert
>Release:        FreeBSD 5.2.1-RELEASE-p9
>Organization:
private
>Environment:
FreeBSD banias 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Sun Jul 18 18:13:22 CEST 2004 root at 217.69.254.39:/usr/src/sys/i386/compile/BANIAS-5.2.1  i386
>Description:
- fix a problem when building squeak without X
- fix suppressing the output of some commands
>How-To-Repeat:
try make WITH_X=no install on a System without X
>Fix:
--- sq-alt/Makefile     Thu Jun  3 09:15:49 2004
+++ sq-fix/Makefile     Fri Oct 22 15:12:08 2004
@@ -8,6 +8,7 @@
 ##################################################
 PORTNAME=              squeak
 PORTVERSION=           3.6
+PORTREVISION=          1
 CATEGORIES=            lang
 VMVERSION=             3.6-3
 IMAGEVERSION=          3.6
@@ -35,7 +36,6 @@
 ##################################################
 ONLY_FOR_ARCHS=        i386 sparc64
 MAN1=                  inisqueak.1 squeak.1
-USE_XLIB=              yes
 USE_GMAKE=             yes
 USE_REINPLACE=         yes
 HAS_CONFIGURE=         yes
@@ -80,6 +80,7 @@
 CONFIGURE_ARGS+=        --without-x
 PLIST_X=               "@comment feature not wanted - "
 .else
+USE_XLIB=              yes
 CONFIGURE_ARGS+=        --with-x
 PLIST_X=
 .endif
@@ -129,13 +130,13 @@
 
 ##################################################
 pre-configure:
-       @${MKDIR} ${CONFIGURE_WRKSRC}
-       @cd ${WRKSRC}/platforms/unix/npsqueak && \
+       ${MKDIR} ${CONFIGURE_WRKSRC}
+       cd ${WRKSRC}/platforms/unix/npsqueak && \
                ${REINPLACE_CMD} -e 's|include|include -I${X11BASE}/include|g' Makefile
 
 ##################################################
 post-configure:
-       @${REINPLACE_CMD} -E \
+       ${REINPLACE_CMD} -E \
                -e s'|^(prefix).*$$|\1=${PREFIX}|' \
                -e s'|^(docdir).*$$|\1=${DOCSDIR}|' \
                ${CONFIGURE_WRKSRC}/Makefile

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list