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

(-)Makefile (-3 / +7 lines)
Lines 29-35 Link Here
29
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4
29
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4
30
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
31
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
31
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
32
CONFIGURE_ARGS+=--with-libs="-lpng" --program-transform-name="" \
32
CONFIGURE_ARGS+=--with-libs="-lpng ${EXTRA_LIBS}" --program-transform-name="" \
33
		--disable-jove-build
33
		--disable-jove-build
34
PLIST_SUB+=	PORTVERSION=${PORTVERSION}
34
PLIST_SUB+=	PORTVERSION=${PORTVERSION}
35
35
Lines 158-173 Link Here
158
158
159
.include <bsd.port.pre.mk>
159
.include <bsd.port.pre.mk>
160
160
161
.if ${ARCH} == sparc64
162
EXTRA_LIBS=	${PTHREAD_LIBS}
163
.endif
164
161
# we only run on i386 and amd64 release 5+
165
# we only run on i386 and amd64 release 5+
162
.if ${OSVERSION} < 500000
166
.if ${OSVERSION} < 500000
163
BROKEN=		Does not compile on FreeBSD-${OSREL}
167
BROKEN=		Does not compile on FreeBSD-${OSREL}
164
.elif !(${ARCH} == i386 || ${ARCH} == amd64)
168
.elif !(${ARCH} == i386 || ${ARCH} == amd64 || ${ARCH} == sparc64)
165
IGNORE=		dumps core on ${ARCH}
169
IGNORE=		dumps core on ${ARCH}
166
.endif
170
.endif
167
171
168
.ifdef WITH_OPTIMIZATION
172
.ifdef WITH_OPTIMIZATION
169
CONFIGURE_ARGS+=	--disable-debug
173
CONFIGURE_ARGS+=	--disable-debug
170
.if (${ARCH} == i386 || ${ARCH} == amd64)
174
.if (${ARCH} == i386 || ${ARCH} == amd64 || ${ARCH} == sparc64)
171
CONFIGURE_ARGS+=	--enable-optimized
175
CONFIGURE_ARGS+=	--enable-optimized
172
.endif
176
.endif
173
.endif
177
.endif

Return to bug 99971