aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
commita0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /x11-toolkits
parentb7fb6d6f05e67910c9ecd4b0e0e1e0a130f8f54f (diff)
downloadports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.tar.gz
ports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gai/Makefile2
-rw-r--r--x11-toolkits/gai/files/patch-gai_Makefile.in11
-rw-r--r--x11-toolkits/girara/Makefile5
3 files changed, 8 insertions, 10 deletions
diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile
index 57e6d373e5af..9907a7769efa 100644
--- a/x11-toolkits/gai/Makefile
+++ b/x11-toolkits/gai/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
-USES= gettext-tools pkgconfig tar:bzip2
+USES= gettext-tools pathfix pkgconfig tar:bzip2
USE_GL= gl
USE_SDL= sdl
USE_GNOME= libgnomeui
diff --git a/x11-toolkits/gai/files/patch-gai_Makefile.in b/x11-toolkits/gai/files/patch-gai_Makefile.in
index 047c61c98d80..d5906dd3e466 100644
--- a/x11-toolkits/gai/files/patch-gai_Makefile.in
+++ b/x11-toolkits/gai/files/patch-gai_Makefile.in
@@ -1,5 +1,5 @@
---- gai/Makefile.in.orig Thu Oct 27 15:00:22 2005
-+++ gai/Makefile.in Thu Oct 27 15:02:47 2005
+--- gai/Makefile.in.orig 2016-10-04 15:54:42 UTC
++++ gai/Makefile.in
@@ -1,9 +1,9 @@
# Makefile for the General Applet Interface Library
@@ -12,7 +12,7 @@
LDFLAGS += @GNOME_LIBS@ @GL_LIBS@ @SDL_LIBS@ @GTHREAD_LIBS@ @PANGO_LIBS@
CC = @CC@
-@@ -23,13 +23,13 @@
+@@ -23,13 +23,13 @@ libgai@LIB_END@: $(OBJS)
install: libgai@LIB_END@
mkdir -p $(DESTDIR)$(PREFIX)/include/gai
@@ -23,9 +23,8 @@
+ $(BSD_INSTALL_PROGRAM) libgai@LIB_END@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@
ln -sf libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@
ln -sf libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_END@
-- mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
-- cp ../gai.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
-+ mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
+ mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
+- cp ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
+ $(BSD_INSTALL_DATA) ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
uninstall:
rm -f $(DESTDIR)$(PREFIX)/include/gai/gai.h
diff --git a/x11-toolkits/girara/Makefile b/x11-toolkits/girara/Makefile
index 353ce66b8de6..0e4526affcd9 100644
--- a/x11-toolkits/girara/Makefile
+++ b/x11-toolkits/girara/Makefile
@@ -11,7 +11,8 @@ MAINTAINER= madpilot@FreeBSD.org
COMMENT= GTK3 Interface Library for Zathura PDF Viewer
USE_GNOME= glib20 gtk30
-USES= gmake pkgconfig
+USES= gmake pathfix pkgconfig
+PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG= yes
USE_CSTD= gnu99
LIBDIR= ${PREFIX}/lib
@@ -24,8 +25,6 @@ OPTIONS_SUB= yes
NLS_USES= gettext
post-patch: .SILENT
- ${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
- ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|^\(CFLAGS +=\) -std=c11|\1|' \
${WRKSRC}/config.mk