diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-15 00:51:00 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-15 00:51:00 +0800 |
commit | 69b5f3e73aa7c1ed200a90954053218144ecf584 (patch) | |
tree | 52e04e555f918c4d4c0fda4ee0d5ab0ea0503696 /finance/gnofin | |
parent | 74bc746de43de25710325c868fae2c9bf08be582 (diff) | |
download | freebsd-ports-gnome-69b5f3e73aa7c1ed200a90954053218144ecf584.tar.gz freebsd-ports-gnome-69b5f3e73aa7c1ed200a90954053218144ecf584.tar.zst freebsd-ports-gnome-69b5f3e73aa7c1ed200a90954053218144ecf584.zip |
- Fix Build after objformat removal
- Pass maintainership to submitter
PR: 118678
Submitted by: Pietro Cerutti <gahr@gahr.ch>
Diffstat (limited to 'finance/gnofin')
-rw-r--r-- | finance/gnofin/Makefile | 22 | ||||
-rw-r--r-- | finance/gnofin/files/patch-src_common.h | 11 | ||||
-rw-r--r-- | finance/gnofin/pkg-plist | 6 |
3 files changed, 28 insertions, 11 deletions
diff --git a/finance/gnofin/Makefile b/finance/gnofin/Makefile index 3341cc65449a..c5bf68f0b3a4 100644 --- a/finance/gnofin/Makefile +++ b/finance/gnofin/Makefile @@ -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> diff --git a/finance/gnofin/files/patch-src_common.h b/finance/gnofin/files/patch-src_common.h new file mode 100644 index 000000000000..db25e7912c6a --- /dev/null +++ b/finance/gnofin/files/patch-src_common.h @@ -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 */ diff --git a/finance/gnofin/pkg-plist b/finance/gnofin/pkg-plist index 7c6d384afcd4..090506153ecf 100644 --- a/finance/gnofin/pkg-plist +++ b/finance/gnofin/pkg-plist @@ -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 |