summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-07 13:23:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-07 13:23:04 +0000
commitdb655200337257a4d3c183fa353b1d04af5fa415 (patch)
treedfa8887998e432102c09784b278b6f97f564eaeb
parentMFH: r421470 (diff)
MFH: r421500release/11.0.0
- Fix plist for GTK2 mode - Switch to USES=localbase PR: 212382 Submitted by: maciej@pasternacki.net Approved by: just fix it blanket Approved by: ports-secteam blanket
-rw-r--r--deskutils/fbreader/Makefile4
-rw-r--r--deskutils/fbreader/pkg-plist3
2 files changed, 3 insertions, 4 deletions
diff --git a/deskutils/fbreader/Makefile b/deskutils/fbreader/Makefile
index ff9e3aad530e..7790266ee705 100644
--- a/deskutils/fbreader/Makefile
+++ b/deskutils/fbreader/Makefile
@@ -27,13 +27,11 @@ STATUS= debug
STATUS= release
.endif
-USES= compiler gmake iconv pkgconfig sqlite tar:tgz
+USES= compiler gmake iconv localbase pkgconfig sqlite tar:tgz
USE_LDCONFIG= yes
INSTALL_TARGET= do_install
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= TARGET_ARCH=desktop TARGET_STATUS=${STATUS} \
ROOTDIR=${WRKSRC} INSTALLDIR=${PREFIX} LIBDIR=${PREFIX}/lib \
LD="${CXX}"
diff --git a/deskutils/fbreader/pkg-plist b/deskutils/fbreader/pkg-plist
index 06c4c9069529..8913805aaa5d 100644
--- a/deskutils/fbreader/pkg-plist
+++ b/deskutils/fbreader/pkg-plist
@@ -124,7 +124,8 @@ share/zlibrary/encodings/KOI8-R
share/zlibrary/encodings/windows-1251
share/zlibrary/encodings/windows-1252
share/zlibrary/hyphenationPatterns.zip
-share/zlibrary/keynames-qt4.xml
+%%GTK2%%share/zlibrary/keynames-gtk.xml
+%%QT4%%share/zlibrary/keynames-qt4.xml
share/zlibrary/languagePatterns.zip
share/zlibrary/resources/ar.xml
share/zlibrary/resources/bg.xml