Skip to content

Commit

Permalink
www/sitecopy: Allow build with neon >= 0.32
Browse files Browse the repository at this point in the history
Fix build with neon >= 0.32
While at it, pet portlint

PR:		259594
Approved by:	mentors (implicit), maintainer timeout (3+ weeks)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Nov 24, 2021
1 parent bba8bcb commit 127b125
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions www/sitecopy/Makefile
Expand Up @@ -10,14 +10,16 @@ MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \
MAINTAINER= sitecopy@oldach.net
COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libneon.so:www/neon

USES= gmake gnome localbase
USE_GNOME= libxml2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib

CONFIGURE_ARGS= --with-neon --with-libxml2
USE_GNOME= libxml2
USES= gmake gnome

OPTIONS_DEFINE= NLS

Expand All @@ -40,7 +42,7 @@ CONFIGURE_ARGS+= --with-ssl
post-patch:
@${REINPLACE_CMD} -e 's|;;|;|g' \
${WRKSRC}/src/sitestore.c
@${REINPLACE_CMD} -e 's|25 26 27 28|& 29 30 31|g' \
@${REINPLACE_CMD} -e 's|25 26 27 28|& 29 30 31 32|g' \
${WRKSRC}/configure
.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e '/#define ksize_t /d' \
Expand Down

0 comments on commit 127b125

Please sign in to comment.