Bug 226823 - /usr/ports/Mk/Uses: missing intltool.mk
Summary: /usr/ports/Mk/Uses: missing intltool.mk
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-21 13:18 UTC by freebsd
Modified: 2018-05-08 17:59 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2018-03-21 13:18:55 UTC
The porter's handbook section 6.11 Using GNOME in table 6.6 indicates the intltool component should be used for internationalization.  Attempts to use it fail due to a missing file:
    USES+= intltool
results in:
  make: "/usr/ports/Mk/bsd.port.mk" line 1463: Cannot open /usr/ports/Mk/Uses/intltool.mk

I encountered this when trying to upgrade an older port which patched some generated configuration files supplied in the original distfile (graphics/ufraw).  I ended up resolving my particular issue by adding
  USES+= pathfix

10.3-RELEASE-p24 FreeBSD 10.3-RELEASE-p24 #0: Wed Nov 15 04:57:40 UTC 2017     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-21 13:38:53 UTC
:USE_GNOME= intltool is the correct syntax.
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-03-21 13:44:32 UTC
Intltool is listed under
Table 6.6. GNOME Components

...

gvfs	devel/gvfs	GNOME virtual file system
=> intltool	textproc/intltool	Tool for internationalization (also see intlhack)
introspection	devel/gobject-introspection	Basic introspection bindings and tools to generate introspection bindings. Most of the time :build is enough, :both/:run is only need for applications that use introspection bindings. (both, build, run)

......