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

(-)/usr/ports/graphics/GraphicsMagick13/Makefile (-2 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	GraphicsMagick
8
PORTNAME=	GraphicsMagick
9
PORTVERSION=	1.3.7
9
PORTVERSION=	1.3.7
10
PORTREVISION=	1
10
CATEGORIES=	graphics
11
CATEGORIES=	graphics
11
MASTER_SITES=	SF \
12
MASTER_SITES=	SF \
12
		ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/
13
		ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/
Lines 54-60 Link Here
54
ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu`
55
ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu`
55
56
56
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include"       \
57
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include"       \
57
	LDFLAGS="-L${LOCALBASE}/lib"
58
	LDFLAGS="${CONFIGURE_LDFLAGS}"
59
CONFIGURE_LDFLAGS=-L${LOCALBASE}/lib
58
60
59
test check:
61
test check:
60
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
62
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
Lines 79-84 Link Here
79
.endif
81
.endif
80
.endif
82
.endif
81
83
84
# XXX configure will continue even if optional components don't work
85
82
.if defined(WITH_FPX)
86
.if defined(WITH_FPX)
83
LIB_DEPENDS+=		fpx.[2-9]:${PORTSDIR}/graphics/libfpx
87
LIB_DEPENDS+=		fpx.[2-9]:${PORTSDIR}/graphics/libfpx
84
CONFIGURE_ARGS+=	--with-fpx
88
CONFIGURE_ARGS+=	--with-fpx
Lines 98-104 Link Here
98
IGNORE=		does not support OpenMP on FreeBSD version ${OSVERSION}
102
IGNORE=		does not support OpenMP on FreeBSD version ${OSVERSION}
99
.endif
103
.endif
100
104
101
CONFIGURE_ENV+=		LDFLAGS=${PTHREAD_LIBS}
105
CONFIGURE_LDFLAGS+=	${PTHREAD_LIBS}
102
CONFIGURE_ARGS+=	--with-threads --enable-openmp --disable-openmp-slow
106
CONFIGURE_ARGS+=	--with-threads --enable-openmp --disable-openmp-slow
103
.else
107
.else
104
CONFIGURE_ARGS+=	--without-threads --disable-openmp
108
CONFIGURE_ARGS+=	--without-threads --disable-openmp

Return to bug 139975