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

(-)astrometry/Makefile (-4 / +7 lines)
Lines 2-12 Link Here
2
# Date created:                         7 July 2009
2
# Date created:                         7 July 2009
3
# Whom:                                 Dereckson <dereckson@gmail.com>
3
# Whom:                                 Dereckson <dereckson@gmail.com>
4
#
4
#
5
# $FreeBSD: ports/astro/astrometry/Makefile,v 1.8 2010/09/21 11:08:40 makc Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	astrometry
8
PORTNAME=	astrometry
9
PORTVERSION=	0.34
9
PORTVERSION=	0.34
10
PORTREVISION=	1
10
CATEGORIES=	astro
11
CATEGORIES=	astro
11
MASTER_SITES=	http://www.astrometry.net/downloads/
12
MASTER_SITES=	http://www.astrometry.net/downloads/
12
DISTNAME=	astrometry.net-${PORTVERSION}
13
DISTNAME=	astrometry.net-${PORTVERSION}
Lines 28-35 Link Here
28
MAKE_JOBS_UNSAFE=	yes
29
MAKE_JOBS_UNSAFE=	yes
29
SUB_FILES=	pkg-message
30
SUB_FILES=	pkg-message
30
31
32
.include <bsd.port.pre.mk>
33
31
post-extract:
34
post-extract:
32
	${CP} ${FILESDIR}/gnu-specific-config.h ${WRKSRC}/util/
35
.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
36
	${CP} ${FILESDIR}/os-features-config.h ${WRKSRC}/util/
37
.endif
33
38
34
post-patch:
39
post-patch:
35
	${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
40
	${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
Lines 38-45 Link Here
38
post-install:
43
post-install:
39
	@${CAT} ${PKGMESSAGE}
44
	@${CAT} ${PKGMESSAGE}
40
45
41
.include <bsd.port.pre.mk>
42
43
.if ${ARCH} == "sparc64"
46
.if ${ARCH} == "sparc64"
44
BROKEN=		Does not build on sparc64
47
BROKEN=		Does not build on sparc64
45
.endif
48
.endif
(-)astrometry/files/gnu-specific-config.h (-4 lines)
Lines 1-4 Link Here
1
#define NEED_CANONICALIZE_FILE_NAME 1
2
#define NEED_DECLARE_QSORT_R 1
3
#define NEED_QSORT_R 0
4
#define NEED_SWAP_QSORT_R 0
(-)astrometry/files/os-features-config.h (+5 lines)
Line 0 Link Here
1
#define NEED_CANONICALIZE_FILE_NAME 1
2
#define NEED_DECLARE_QSORT_R 1
3
#define NEED_QSORT_R 0
4
#define NEED_SWAP_QSORT_R 0
5
#define HAVE_NETPBM 0

Return to bug 151235