1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

Update to 0.2.1

(anyone want to make this DATADIR safe?)

PR:		ports/81510
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Patrick Li 2005-05-27 21:38:42 +00:00
parent 267cb82866
commit 3f9322712a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136300
4 changed files with 33 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= qcomicbook
PORTVERSION= 0.2.0
PORTVERSION= 0.2.1
CATEGORIES= graphics
MASTER_SITES= http://linux.bydg.org/~yogin/
@ -18,21 +18,20 @@ RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
USE_X_PREFIX= yes
USE_QT_VER= 3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+=--with-Qt-dir="${X11BASE}"
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-Qt-dir="${QT_PREFIX}"
MAN1= qcomicbook.1
# Luckily, QT apps on FreeBSD don't compile against
# pthread by default. That might *gasp* make them work!
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
MAN1= qcomicbook.1
post-patch:
@${REINPLACE_CMD} -e 's|="failure"|=""|g' ${WRKSRC}/configure
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Configure fails on FreeBSD 4.x"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (qcomicbook-0.2.0.tar.gz) = c7b4e120218cdd5d94c010fe4f98fc59
SIZE (qcomicbook-0.2.0.tar.gz) = 189285
MD5 (qcomicbook-0.2.1.tar.gz) = 78cb4ac0433af583dc0254f65caf290d
SIZE (qcomicbook-0.2.1.tar.gz) = 190757

View File

@ -0,0 +1,10 @@
--- src/imgarchivesink.cpp.orig Mon May 16 00:16:43 2005
+++ src/imgarchivesink.cpp Fri May 20 00:41:12 2005
@@ -18,6 +18,7 @@
#include <qfileinfo.h>
#include <qfile.h>
#include <stdlib.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -0,0 +1,10 @@
--- src/thumbnail.cpp.orig Sat Apr 2 19:59:03 2005
+++ src/thumbnail.cpp Fri May 20 00:51:33 2005
@@ -11,6 +11,7 @@
*/
#include "thumbnail.h"
+#include <sys/types.h>
#include <utime.h>
int Thumbnail::thwidth = 100;