diff options
author | miwi <miwi@FreeBSD.org> | 2009-10-21 18:34:53 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-10-21 18:34:53 +0800 |
commit | 20796d76274b6e03a6747176c5f5a76dc50a9d45 (patch) | |
tree | f9f4c3e0f30fe858a0c85f11b5a8fb175fffb89f /textproc | |
parent | d0ffcf1dc78f99238c34495f201824d123e42239 (diff) | |
download | freebsd-ports-gnome-20796d76274b6e03a6747176c5f5a76dc50a9d45.tar.gz freebsd-ports-gnome-20796d76274b6e03a6747176c5f5a76dc50a9d45.tar.zst freebsd-ports-gnome-20796d76274b6e03a6747176c5f5a76dc50a9d45.zip |
- Fix build on AMD64
PR: 139633
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sdcv/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile index bba24ceef681..83cda1cf5acb 100644 --- a/textproc/sdcv/Makefile +++ b/textproc/sdcv/Makefile @@ -35,10 +35,6 @@ MAN1= sdcv.1 .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" -BROKEN= Doesn't build on 64-bit platforms -.endif - post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ ${WRKSRC}/doc/sdcv.1 @@ -47,6 +43,10 @@ post-patch: @${REINPLACE_CMD} -e 's, getopt.h,,g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e '146 s|()|(int, char * const [], const char *)|g' \ ${WRKSRC}/src/getopt.h +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" + @${REINPLACE_CMD} -e '516 s|sizeof|(guint32)sizeof|g' \ + ${WRKSRC}/src/lib/lib.cpp +.endif @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ ${WRKSRC}/src/sdcv.cpp @${REINPLACE_CMD} -e 's,@mandir@/uk,@mandir@,' \ |