1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- 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
This commit is contained in:
Pav Lucistnik 2011-09-09 19:55:18 +00:00
parent 7e46f6989f
commit a789e3bed2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281535

View File

@ -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