1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

On 4.x add workaround for <stdint.h>

Pointed by:	pointyhat (kris)
This commit is contained in:
Sergey Skvortsov 2006-09-05 16:47:14 +00:00
parent abc85f6780
commit ae994dc4d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172328

View File

@ -22,9 +22,15 @@ USE_GNOME= pkgconfig libxml2 libxslt
GNU_CONFIGURE= YES
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" PKG_CONFIG=${LOCALBASE}/bin/pkg-config
INSTALLS_SHLIB= YES
USE_LDCONFIG= YES
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
.if ${OSVERSION} < 500000
${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \
${WRKSRC}/src/*.h
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>