View | Details | Raw Unified | Return to bug 73003
Collapse All | Expand All

(-)sq-fix/Makefile Fri Oct 22 15:12:08 2004 (-4 / +5 lines)
Lines 8-13 Link Here
8
##################################################
8
##################################################
9
PORTNAME=              squeak
9
PORTNAME=              squeak
10
PORTVERSION=           3.6
10
PORTVERSION=           3.6
11
PORTREVISION=          1
11
CATEGORIES=            lang
12
CATEGORIES=            lang
12
VMVERSION=             3.6-3
13
VMVERSION=             3.6-3
13
IMAGEVERSION=          3.6
14
IMAGEVERSION=          3.6
Lines 35-41 Link Here
35
##################################################
36
##################################################
36
ONLY_FOR_ARCHS=        i386 sparc64
37
ONLY_FOR_ARCHS=        i386 sparc64
37
MAN1=                  inisqueak.1 squeak.1
38
MAN1=                  inisqueak.1 squeak.1
38
USE_XLIB=              yes
39
USE_GMAKE=             yes
39
USE_GMAKE=             yes
40
USE_REINPLACE=         yes
40
USE_REINPLACE=         yes
41
HAS_CONFIGURE=         yes
41
HAS_CONFIGURE=         yes
Lines 80-85 Link Here
80
CONFIGURE_ARGS+=        --without-x
80
CONFIGURE_ARGS+=        --without-x
81
PLIST_X=               "@comment feature not wanted - "
81
PLIST_X=               "@comment feature not wanted - "
82
.else
82
.else
83
USE_XLIB=              yes
83
CONFIGURE_ARGS+=        --with-x
84
CONFIGURE_ARGS+=        --with-x
84
PLIST_X=
85
PLIST_X=
85
.endif
86
.endif
Lines 129-141 Link Here
129
130
130
##################################################
131
##################################################
131
pre-configure:
132
pre-configure:
132
       @${MKDIR} ${CONFIGURE_WRKSRC}
133
       ${MKDIR} ${CONFIGURE_WRKSRC}
133
       @cd ${WRKSRC}/platforms/unix/npsqueak && \
134
       cd ${WRKSRC}/platforms/unix/npsqueak && \
134
               ${REINPLACE_CMD} -e 's|include|include -I${X11BASE}/include|g' Makefile
135
               ${REINPLACE_CMD} -e 's|include|include -I${X11BASE}/include|g' Makefile
135
136
136
##################################################
137
##################################################
137
post-configure:
138
post-configure:
138
       @${REINPLACE_CMD} -E \
139
       ${REINPLACE_CMD} -E \
139
               -e s'|^(prefix).*$$|\1=${PREFIX}|' \
140
               -e s'|^(prefix).*$$|\1=${PREFIX}|' \
140
               -e s'|^(docdir).*$$|\1=${DOCSDIR}|' \
141
               -e s'|^(docdir).*$$|\1=${DOCSDIR}|' \
141
               ${CONFIGURE_WRKSRC}/Makefile
142
               ${CONFIGURE_WRKSRC}/Makefile

Return to bug 73003