mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Fix build with sparc64
PR: 119066 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
This commit is contained in:
parent
da93caf7f3
commit
56a39c2b48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204948
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= sharpconstruct
|
||||
PORTVERSION= 0.11
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR= sharp3d
|
||||
@ -26,7 +26,12 @@ GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= sharpconstruct.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH} != "i386" && ${ARCH} != "amd64"
|
||||
@${REINPLACE_CMD} -e 's|-msse||' ${WRKSRC}/src/Makefile*
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh
|
||||
@${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc
|
||||
@ -35,4 +40,4 @@ post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
|
||||
${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user