aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-12-24 22:23:21 +0800
committerpawel <pawel@FreeBSD.org>2013-12-24 22:23:21 +0800
commit3120212e0dadce1a0f51e52fe57f79c820b92db3 (patch)
tree092ba30a6bbd232603411375218596827ecc5895
parent457f0d77c1afb959e9242ed5c471a5aaf280587b (diff)
downloadfreebsd-ports-gnome-3120212e0dadce1a0f51e52fe57f79c820b92db3.tar.gz
freebsd-ports-gnome-3120212e0dadce1a0f51e52fe57f79c820b92db3.tar.zst
freebsd-ports-gnome-3120212e0dadce1a0f51e52fe57f79c820b92db3.zip
- Fix build with clang
- Add desktop entry file - Use shebangfix - Support staging PR: ports/184901 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--www/bookmarkbridge/Makefile16
-rw-r--r--www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h9
2 files changed, 16 insertions, 9 deletions
diff --git a/www/bookmarkbridge/Makefile b/www/bookmarkbridge/Makefile
index 4aae8c775d35..716a4b8e5d62 100644
--- a/www/bookmarkbridge/Makefile
+++ b/www/bookmarkbridge/Makefile
@@ -3,24 +3,22 @@
PORTNAME= bookmarkbridge
PORTVERSION= 0.76
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Synchronize bookmarks between multiple browsers
-LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
-
-USE_PERL5= build
+USES= gmake perl5 pkgconfig shebangfix
+SHEBANG_FILES= bookmarkbridge/docs/autodocs.pl
+USE_PERL5= yes
USE_XORG= x11 ice xext
-USE_QT4= corelib gui moc_build rcc_build uic_build qt3support
+USE_QT4= corelib gui qt3support moc_build rcc_build uic_build
USE_GNOME= libxml2
-USE_GMAKE= yes
-USES= pkgconfig perl5
USE_AUTOTOOLS= aclocal automake autoconf
-ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
-NO_STAGE= yes
+DESKTOP_ENTRIES="BookmarkBridge" "" "" "${PORTNAME}" "Qt;Network;" ""
+
.include <bsd.port.mk>
diff --git a/www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h b/www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h
new file mode 100644
index 000000000000..3bc3320efdb8
--- /dev/null
+++ b/www/bookmarkbridge/files/patch-bookmarkbridge__bridgecfg.h
@@ -0,0 +1,9 @@
+--- bookmarkbridge/bridgecfg.h.orig 2013-12-06 03:29:29.000000000 +0900
++++ bookmarkbridge/bridgecfg.h 2013-12-06 03:29:46.000000000 +0900
+@@ -31,6 +31,7 @@
+ #include "bknode.h"
+ #include "bkexcept.h"
+
++#include <cstdlib>
+ #include <vector>
+ #include <qstring.h>