From owner-freebsd-ports@FreeBSD.ORG Sun Oct 26 04:43:39 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ABED106566B for ; Sun, 26 Oct 2008 04:43:39 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id EEECB8FC1B for ; Sun, 26 Oct 2008 04:43:38 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1577495fkk.11 for ; Sat, 25 Oct 2008 21:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SL7o8+SxeL2gFktvXjiPtEu4VCwLOu08DNohCEWsB68=; b=m5puOWLSCPAeScn14p6Hrj+KKwc2RxydXx8ksxmOGvhy3Nk7vt5AAJTU6yQJ9Pa45l EqjoNQrpzxPW0jihGTFbbj/goaz+Ugc0t7jvY+VmH8NO143mFHaO0W3s93FVqiTg7sj1 ebnbN4E1Vx5H5GLqsr8RGUeqS/K7snl1MSzew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=T7yGB0VuRrISZ5x9V/ekETPxfEkn5RowzbyQNCCY5vsC/jiKhs7ItZqqrNieAWFmbK HUSFyzy14fGpQW6yrVDCLKp7H7dioEHhxcpztaprhwc0SWVk5HYla2w/G8deKqqwnuwU CW5x9VxpO7wNPkAk52ReOoTJzc2F7qtYxz/JM= Received: by 10.103.218.19 with SMTP id v19mr1974245muq.110.1224996217503; Sat, 25 Oct 2008 21:43:37 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Sat, 25 Oct 2008 21:43:37 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 02:43:37 -0200 From: "Carlos A. M. dos Santos" To: "Eitan Adler" , freebsd-ports In-Reply-To: <4903EDA9.10103@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48FB994A.1080704@gmail.com> <4903EDA9.10103@gmail.com> Cc: Subject: Re: xclip dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 04:43:39 -0000 On Sun, Oct 26, 2008 at 2:10 AM, Eitan Adler wrote: > I looked at the file - although I don't actually know what I should > looking for. ... 1374 .if defined(USE_IMAKE) && !defined(USE_X_PREFIX) 1375 USE_X_PREFIX= yes 1376 .endif ... 1380 .if defined(USE_X_PREFIX) 1381 USE_XLIB= yes 1382 .endif ... 1844 X_LIBRARIES_PORT= ${PORTSDIR}/x11/xorg-libraries ... 2033 .if defined(USE_XLIB) 2034 . if defined(USE_LINUX) 2035 RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-xorg-libs 2036 . else 2037 BUILD_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT} 2038 RUN_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT} 2039 . endif 2040 .endif > There is no way to limit the number of dependencies ? It would be necessary to hack a workaround, perhaps setting USE_X_PREFIX as "no". Try the Makefile below. It works, but I'm not sure if it is legal to touch USE_X_PREFIX even knowing that X11BASE is the same as LOCALBASE these days. -- cd /usr/ports/sysutils/life make clean # ex:ts=8 # New ports collection makefile for: xclip # Date created: Dec 18, 2001 # Whom: ijliao # # $FreeBSD: ports/x11/xclip/Makefile,v 1.6 2007/05/19 20:27:39 flz Exp $ # PORTNAME= xclip PORTVERSION= 0.08 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= http://www.stearns.org/xclip/ \ http://ftp.ussg.iu.edu/linux/gentoo/distfiles/ \ http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= An interface to X selections ("the clipboard") from the command line WRKSRC= ${WRKDIR}/${PORTNAME} USE_IMAKE= yes USE_X_PREFIX= no USE_XORG= x11 xmu MAN1= xclip.1 PLIST_FILES= bin/xclip .include