diff options
author | pav <pav@FreeBSD.org> | 2011-09-10 03:55:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2011-09-10 03:55:18 +0800 |
commit | 34c9a143c7041f67d963821e07da636561d7e5f9 (patch) | |
tree | 26dd368aeacd4a37431be120877153acd80d1a1b /graphics | |
parent | a73c1226af1ef515b9a8e3dfb8de15cecca38c09 (diff) | |
download | freebsd-ports-gnome-34c9a143c7041f67d963821e07da636561d7e5f9.tar.gz freebsd-ports-gnome-34c9a143c7041f67d963821e07da636561d7e5f9.tar.zst freebsd-ports-gnome-34c9a143c7041f67d963821e07da636561d7e5f9.zip |
- Make sure libgphoto_port library is linked with libintl, otherwise
non-gettext apps (python) that dl_open libgphoto_port plugins are rather
unhappy
PR: ports/160508
Reported by: danfe
Tested by: danfe
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libgphoto2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 175fc708125c..7196247791d9 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgphoto2 PORTVERSION= 2.4.11 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION} @@ -54,6 +55,9 @@ post-patch: s|-g -O2||g ; \ /grep -i linux/s|; fi ; then|; else false; fi ; then|' ${WRKSRC}/${file} .endfor +.if !defined(WITHOUT_NLS) + @${REINPLACE_CMD} -e 's|(LDFLAGS) -o|(LDFLAGS) -lintl -o|' ${WRKSRC}/libgphoto2_port/libgphoto2_port/Makefile.in +.endif @${REINPLACE_CMD} -e '/test.*udevscriptdir/d ; s| "$$(DESTDIR)$$(udevscriptdir)"||' ${WRKSRC}/libgphoto2_port/usb/Makefile.in ${WRKSRC}/packaging/generic/Makefile.in @${REINPLACE_CMD} -e 's|linux-hotplug ||' ${WRKSRC}/packaging/Makefile.in @${REINPLACE_CMD} -e 's|@HAVE_DOXYGEN_TRUE@|#| ; s|@HAVE_DOXYGEN_FALSE@||' ${WRKSRC}/doc/Makefile.in |