Fix build on 6.x
PR: ports/151235 Submitted by: Sébastien Santoro (maintainer)
This commit is contained in:
parent
247d356dbf
commit
bc7ab356b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262717
@ -28,8 +28,12 @@ MAKE_ENV= INSTALL_DIR=${PREFIX}/astrometry
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/gnu-specific-config.h ${WRKSRC}/util/
|
||||
.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
|
||||
${CP} ${FILESDIR}/os-features-config.h ${WRKSRC}/util/
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
|
||||
@ -38,8 +42,6 @@ post-patch:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not build on sparc64
|
||||
.endif
|
||||
|
@ -2,3 +2,4 @@
|
||||
#define NEED_DECLARE_QSORT_R 1
|
||||
#define NEED_QSORT_R 0
|
||||
#define NEED_SWAP_QSORT_R 0
|
||||
#define HAVE_NETPBM 0
|
Loading…
Reference in New Issue
Block a user