aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-09-05 07:53:15 +0800
committeradamw <adamw@FreeBSD.org>2014-09-05 07:53:15 +0800
commita30a101de155085dd311c531ba1f73642a13b88a (patch)
tree6dab3bf6e823a2cd96867f3a8afd2bbeeb9c63d5
parent4050500e5c6aae90751837b3748541aba6abf294 (diff)
downloadfreebsd-ports-gnome-a30a101de155085dd311c531ba1f73642a13b88a.tar.gz
freebsd-ports-gnome-a30a101de155085dd311c531ba1f73642a13b88a.tar.zst
freebsd-ports-gnome-a30a101de155085dd311c531ba1f73642a13b88a.zip
This port is hopelessly dependent upon g_return_if_fail from non-void functions.
Force build with GCC, where anything goes. While here, add a missing file to plist and add some stuff to USES. Not alphabetized, just for danfe and marino.
-rw-r--r--print/gribouy/Makefile12
-rw-r--r--print/gribouy/pkg-plist1
2 files changed, 10 insertions, 3 deletions
diff --git a/print/gribouy/Makefile b/print/gribouy/Makefile
index bebc4bc8edf5..fd2b6b97f447 100644
--- a/print/gribouy/Makefile
+++ b/print/gribouy/Makefile
@@ -3,15 +3,21 @@
PORTNAME= gribouy
PORTVERSION= 0.0.8
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= print gnome
MASTER_SITES= LOCAL/bland
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gribouy is a Type1 font editor
-USES= gmake pkgconfig
-USE_GNOME= gnomeprefix gnomehack libglade2 libgnomeui
+USES= gmake pkgconfig pathfix gettext
+USE_GNOME= gnomeprefix libglade2 libgnomeui
GNU_CONFIGURE= yes
+USE_GCC= any
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^LIBS =/s|$$| -lm|' \
+ ${WRKSRC}/src/Makefile.in
+
.include <bsd.port.mk>
diff --git a/print/gribouy/pkg-plist b/print/gribouy/pkg-plist
index 176b7b0c96cb..5f3022162d81 100644
--- a/print/gribouy/pkg-plist
+++ b/print/gribouy/pkg-plist
@@ -1,5 +1,6 @@
bin/gribouy
share/applications/gribouy.desktop
+share/locale/fr/LC_MESSAGES/gribouy.mo
share/gnome-2.0/ui/gribouy-ui.xml
share/gribouy/glade/gribouy.glade
share/pixmaps/gribouy.png