- Fix build on sparc64
Approved by: amdmi3 (maintainer) Approved by: portmgr (pav)
This commit is contained in:
parent
6a994e2840
commit
b408caedbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220403
1 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue