aboutsummaryrefslogtreecommitdiffstats
path: root/news/nzbget
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-09-30 01:19:44 +0800
committerbeech <beech@FreeBSD.org>2007-09-30 01:19:44 +0800
commit3d4baf8a815857655494d651b684df5c7a4349fd (patch)
tree8f23fbae29fafb39a57de1344a5ecdbeb128c8cf /news/nzbget
parent4f68df93d3702bde0bf89da19c9ed47e418ae7da (diff)
downloadfreebsd-ports-graphics-3d4baf8a815857655494d651b684df5c7a4349fd.tar.gz
freebsd-ports-graphics-3d4baf8a815857655494d651b684df5c7a4349fd.tar.zst
freebsd-ports-graphics-3d4baf8a815857655494d651b684df5c7a4349fd.zip
- Fix build with 7.x and amd64
PR: ports/116616 Submitted by: Lewis Thompson <lewiz@compsoc.man.ac.uk> (maintainer) Approved by: sat (mentor)
Diffstat (limited to 'news/nzbget')
-rw-r--r--news/nzbget/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index 193c7578f22..ccac741ddef 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -8,8 +8,7 @@
PORTNAME= nzbget
PORTVERSION= 0.2.3
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= nzbget
+MASTER_SITES= SF
MAINTAINER= lewiz@compsoc.man.ac.uk
COMMENT= A binary newsreader supporting NZB files
@@ -22,20 +21,17 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
LOCALBASE="${LOCALBASE}"
USE_GMAKE= yes
-USE_GETOPT_LONG= yes
PLIST_FILES= bin/nzbget etc/nzbget.cfg.example
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
+post-extract:
+ @${LN} -sf ${WRKSRC}/uulib/uudeview.h ${WRKSRC}/uudeview.h
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '187s/int/intptr_t/' ${WRKSRC}/ArticleDownloader.cpp
post-install:
${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>