ports/175450: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Sun Feb 17 13:30:01 UTC 2013


The following reply was made to PR ports/175450; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/175450: commit references a PR
Date: Sun, 17 Feb 2013 13:22:23 +0000 (UTC)

 Author: pawel
 Date: Sun Feb 17 13:22:15 2013
 New Revision: 312414
 URL: http://svnweb.freebsd.org/changeset/ports/312414
 
 Log:
   - Fix build on amd64 [1]
   - Convert to OptionsNG
   - Trim Makefile header
   
   PR:		ports/175450 [1]
   Submitted by:	Lawrence Chen <lchen at zen.lhaven.homeip.net> [1]
 
 Modified:
   head/misc/gkx86info2/Makefile
 
 Modified: head/misc/gkx86info2/Makefile
 ==============================================================================
 --- head/misc/gkx86info2/Makefile	Sun Feb 17 11:49:50 2013	(r312413)
 +++ head/misc/gkx86info2/Makefile	Sun Feb 17 13:22:15 2013	(r312414)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	gkx86info2
 -# Date created:		Tue Apr 27 14:15:53 CEST 2004
 -# Whom:			Tobias Roth <ports at fsck.ch>
 -#
 +# Created by: Tobias Roth <ports at fsck.ch>
  # $FreeBSD$
 -#
  
  PORTNAME=	gkx86info2
  PORTVERSION=	0.0.2
 @@ -18,13 +14,16 @@ COMMENT=	GKrellM2 plugin that simply pri
  BUILD_DEPENDS=	${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
  RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2
  
 -ONLY_FOR_ARCHS=	i386
 +ONLY_FOR_ARCHS=	i386 amd64
 +USE_PKGCONFIG=	build
  USE_GNOME=	gtk20
  
  WRKSRC=		${WRKDIR}/gkx86info${PORTVERSION}
  
 +.include <bsd.port.options.mk>
 +
  do-build:
 -	@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -o MHz.o -c MHz.c
 +	@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -fPIC -o MHz.o -c MHz.c
  	@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -fPIC \
  		`pkg-config gtk+-2.0 --cflags` -c gkx86info.c
  	@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -shared \
 @@ -35,7 +34,7 @@ do-install:
  		${PREFIX}/libexec/gkrellm2/plugins/
  
  post-install:
 -.ifndef(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
  	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
  .endif
 _______________________________________________
 svn-ports-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
 


More information about the freebsd-ports-bugs mailing list