- Fix Build after objformat removal
- Pass maintainership to submitter PR: 118678 Submitted by: Pietro Cerutti <gahr@gahr.ch>
This commit is contained in:
parent
8bfdd7d355
commit
9512476be4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203558
@ -12,15 +12,23 @@ CATEGORIES= finance deskutils gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= gahr@gahr.ch
|
||||
COMMENT= Light-weight GNOME based financial management program
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOME= gnomehack gnomelibs gnomeprefix
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT=yes
|
||||
PLIST_SUB= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS= --disable-nls
|
||||
PLIST_SUB= NLS="@comment "
|
||||
.endif
|
||||
|
||||
MAN1= gnofin.1
|
||||
|
||||
@ -32,11 +40,9 @@ post-patch:
|
||||
${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
|
||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|%%%GNOFIN_LIBDIR%%%|${PREFIX}/lib/gnofin/plugins|g' \
|
||||
${WRKSRC}/src/Makefile.am
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700029
|
||||
BROKEN= Incorrect pkg-plist (bad objformat handling)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
11
finance/gnofin/files/patch-src_common.h
Normal file
11
finance/gnofin/files/patch-src_common.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/common.h.orig 2007-12-13 19:50:36.000000000 +0100
|
||||
+++ src/common.h 2007-12-13 19:50:59.000000000 +0100
|
||||
@@ -24,6 +24,8 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#include <glib.h>
|
||||
#include <libgnome/gnome-defs.h>
|
||||
#include <libgnome/gnome-i18n.h> /* defines _() and N_() macros */
|
@ -24,8 +24,8 @@ lib/gnofin/plugins/libtext.a
|
||||
lib/gnofin/plugins/libtext.la
|
||||
lib/gnofin/plugins/libtext.so
|
||||
share/gnome/apps/Applications/gnofin.desktop
|
||||
share/locale/cs/LC_MESSAGES/gnofin.mo
|
||||
share/locale/fr/LC_MESSAGES/gnofin.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gnofin.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/gnofin.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/gnofin.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnofin.mo
|
||||
@dirrm lib/gnofin/plugins
|
||||
@dirrm lib/gnofin
|
||||
|
Loading…
Reference in New Issue
Block a user