aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-08-24 04:31:07 +0800
committerpawel <pawel@FreeBSD.org>2016-08-24 04:31:07 +0800
commit27566d96b73152373eaa361bbe1e1d51e50643ce (patch)
treeaa42afd95ce63e3ff01ecb198df50e5f1cd04b6d /editors
parent7215c9994dab6d061bc4f4fde2700520d0bf251f (diff)
downloadfreebsd-ports-gnome-27566d96b73152373eaa361bbe1e1d51e50643ce.tar.gz
freebsd-ports-gnome-27566d96b73152373eaa361bbe1e1d51e50643ce.tar.zst
freebsd-ports-gnome-27566d96b73152373eaa361bbe1e1d51e50643ce.zip
- Fix build after databases/sqlite update
- Convert to USES=localbase - Register proxy dependencies found by stage-qa
Diffstat (limited to 'editors')
-rw-r--r--editors/texmacs/Makefile10
-rw-r--r--editors/texmacs/files/patch-src_Plugins_Sqlite3_sqlite3.hpp13
2 files changed, 18 insertions, 5 deletions
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index d3a3cb4feff9..a504da44fefd 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -14,15 +14,15 @@ COMMENT= WYSIWYG scientific text editor
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libguile.so:lang/guile
+LIB_DEPENDS= libltdl.so:devel/libltdl \
+ libguile.so:lang/guile \
+ libgmp.so:math/gmp
RUN_DEPENDS= fig2dev:print/transfig
-USES= cpe desktop-file-utils gmake iconv pkgconfig python \
+USES= cpe desktop-file-utils gmake iconv localbase pkgconfig python \
shared-mime-info shebangfix
USE_TEX= tex:run dvipsk:run
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:tu}
@@ -51,7 +51,7 @@ IMLIB2_CONFIGURE_WITH= imlib2
PDF_CONFIGURE_ENABLE= pdf-renderer
PDF_LDFLAGS= -lz
PDF_IMPLIES= FREETYPE GHOSTSCRIPT
-QT4_USE= qt4=accessible,gui,imageformats \
+QT4_USE= qt4=accessible,corelib,gui,imageformats \
qt4=moc_build,qmake_build,rcc_build,uic_build
QT4_USE_OFF= xorg=xext
QT4_CONFIGURE_ON= --with-qt=${QT_PREFIX} --enable-qtpipes
diff --git a/editors/texmacs/files/patch-src_Plugins_Sqlite3_sqlite3.hpp b/editors/texmacs/files/patch-src_Plugins_Sqlite3_sqlite3.hpp
new file mode 100644
index 000000000000..cd1fa8e06c8e
--- /dev/null
+++ b/editors/texmacs/files/patch-src_Plugins_Sqlite3_sqlite3.hpp
@@ -0,0 +1,13 @@
+--- src/Plugins/Sqlite3/sqlite3.hpp.orig 2016-08-22 16:04:07 UTC
++++ src/Plugins/Sqlite3/sqlite3.hpp
+@@ -9,8 +9,8 @@
+ * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
+ ******************************************************************************/
+
+-#ifndef SQLITE3_H
+-#define SQLITE3_H
++#ifndef TM_SQLITE3_H
++#define TM_SQLITE3_H
+ #include "url.hpp"
+
+ bool sqlite3_present ();