Bug 181098 - sysutils/gkrellm2 needs pkgconfig
Summary: sysutils/gkrellm2 needs pkgconfig
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 02:50 UTC by cyberleo
Modified: 2013-08-11 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (292 bytes, patch)
2013-08-07 02:50 UTC, cyberleo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cyberleo 2013-08-07 02:50:00 UTC
===> The following configuration options are available for gkrellm-2.3.5_4:
     DOCS=off: Build and/or install documentation
     GKRELLM_CLIENT=off: GKrellM Client
     NLS=off: Native Language Support
     NTLM=off: NTLM authentication support
====> SSL protocol support: you can only select none or one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     OPENSSL=off: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
..
===>  Building for gkrellm-2.3.5_4
./configure: pkg-config: not found
..
clang -c -Wall `pkg-config --cflags glib-2.0 gthread-2.0`   -I.. -I../shared -I/usr/local/include -DGKRELLM_SERVER -O2 -pipe -O2 -pipe -march=atom -DSYSTEM_THEMES_DIR='"/usr/local/share/gkrellm2/themes"' -DSYSTEM_PLUGINS_DIR='"/usr/local/libexec/gkrellm2/plugins"' -DGKRELLMD_SYS_ETC='"/usr/local/etc"' -DGKRELLMD_SYSTEM_PLUGINS_DIR='"/usr/local/libexec/gkrellm2/plugins-gkrellmd"' -fno-strict-aliasing  utils.c -o utils.o
pkg-config: not found
In file included from main.c:34:
In file included from ./gkrellmd.h:36:
./shared/log.h:37:10: fatal error: 'glib.h' file not found
#include <glib.h>
         ^

Fix: Attached patch fixes.

Patch attached with submission follows:
How-To-Repeat: Use poudriere to build sysutils/gkrellm2 with all options off.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-07 02:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ume

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-08-11 16:23:58 UTC
Author: ume
Date: Sun Aug 11 15:23:50 2013
New Revision: 324593
URL: http://svnweb.freebsd.org/changeset/ports/324593

Log:
  - Add USES+=pkgconfig to fix build. [1]
  - Convert USE_GMAKE=yes to USES+=gmake.
  - Use WWW: with a single space to make portlint happy.
  
  PR:		ports/181098 [1]
  Submitted by:	CyberLeo <cyberleo__at__cyberleo.net> [1]

Modified:
  head/sysutils/gkrellm2/Makefile
  head/sysutils/gkrellm2/pkg-descr

Modified: head/sysutils/gkrellm2/Makefile
==============================================================================
--- head/sysutils/gkrellm2/Makefile	Sun Aug 11 14:58:18 2013	(r324592)
+++ head/sysutils/gkrellm2/Makefile	Sun Aug 11 15:23:50 2013	(r324593)
@@ -14,8 +14,8 @@ COMMENT=	A GTK based system monitor
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES+=		gmake pkgconfig
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_RC_SUBR=	gkrellmd
 WANT_GNOME=	yes
 

Modified: head/sysutils/gkrellm2/pkg-descr
==============================================================================
--- head/sysutils/gkrellm2/pkg-descr	Sun Aug 11 14:58:18 2013	(r324592)
+++ head/sysutils/gkrellm2/pkg-descr	Sun Aug 11 15:23:50 2013	(r324593)
@@ -4,5 +4,5 @@ With a single process, GKrellM manages m
 applying themes to match the monitors appearance to your window manager,
 Gtk, or any other theme.
 
-Author:	Bill Wilson bill@gkrellm.net
-WWW:    http://gkrellm.net
+Author: Bill Wilson bill@gkrellm.net
+WWW: http://gkrellm.net
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Hajimu UMEMOTO freebsd_committer freebsd_triage 2013-08-11 16:25:30 UTC
State Changed
From-To: open->closed

Thanks, committed!