Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2019 14:31:46 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491814 - head/x11/xvattr
Message-ID:  <201902011431.x11EVkTT083454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Feb  1 14:31:46 2019
New Revision: 491814
URL: https://svnweb.freebsd.org/changeset/ports/491814

Log:
  x11/xvattr: Remove GTK1 option
  
  x11-toolkits/gtk12 is gone since r488008.

Modified:
  head/x11/xvattr/Makefile

Modified: head/x11/xvattr/Makefile
==============================================================================
--- head/x11/xvattr/Makefile	Fri Feb  1 14:24:25 2019	(r491813)
+++ head/x11/xvattr/Makefile	Fri Feb  1 14:31:46 2019	(r491814)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xvattr
 PORTVERSION=	1.3
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	x11
 MASTER_SITES=	http://xvattr.sourcearchive.com/downloads/1.3/
 DISTFILES=	xvattr_1.3.orig.tar.gz
@@ -11,21 +11,15 @@ DISTFILES=	xvattr_1.3.orig.tar.gz
 MAINTAINER=	cy@FreeBSD.org
 COMMENT=	Getting and setting Xv attributes
 
+USES=		gnome pkgconfig
+USE_GNOME=	gtk20
 USE_XORG=	x11 xv
-USES=		pkgconfig
 
 PLIST_FILES=	bin/${PORTNAME} bin/g${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 
 CFLAGS+=	-DVERSION=\"${PORTVERSION}\"
 
-OPTIONS_DEFINE=	GTK1
-GTK1_DESC=	GTK1 support (Default is GTK2)
-GTK1_USE=	GNOME=gtk12
-GTK1_VARS=	GTK_PC=gtk+
-GTK1_USE_OFF=	GNOME=gtk20
-GTK1_VARS_OFF=	GTK_PC=gtk+-2.0
-
 post-extract:
 	@${RM} ${WRKSRC}/getopt.h
 
@@ -33,7 +27,7 @@ do-build:
 	cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \
 		`pkg-config --cflags --libs xv x11`
 	cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \
-		`pkg-config --cflags --libs ${GTK_PC} xv x11`
+		`pkg-config --cflags --libs gtk+-2.0 xv x11`
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902011431.x11EVkTT083454>