1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Fix build on sparc64

Approved by:	amdmi3 (maintainer)
Approved by:	portmgr (pav)
This commit is contained in:
Pietro Cerutti 2008-09-16 12:07:01 +00:00
parent 6a994e2840
commit b408caedbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220403

View File

@ -31,6 +31,12 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
CFLAGS+= -O0
.endif
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local/share/geomorph/GeoMorph.xpm|geomorph.xpm|' \
@ -49,4 +55,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/geomorph.desktop ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/GeoMorph.xpm ${PREFIX}/share/pixmaps/geomorph.xpm
.include <bsd.port.mk>
.include <bsd.port.post.mk>