From owner-freebsd-ports@FreeBSD.ORG Fri Sep 16 20:25:56 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB8A16A41F for ; Fri, 16 Sep 2005 20:25:56 +0000 (GMT) (envelope-from rvkassick@inf.ufrgs.br) Received: from puma.inf.ufrgs.br (puma.inf.ufrgs.br [143.54.11.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF31243D45 for ; Fri, 16 Sep 2005 20:25:54 +0000 (GMT) (envelope-from rvkassick@inf.ufrgs.br) Received: from localhost (localhost [127.0.0.1]) by puma.inf.ufrgs.br (Postfix) with ESMTP id E415B78DD8; Fri, 16 Sep 2005 17:25:48 -0300 (BRT) Received: from lucifer.inf.ufrgs.br (unknown [143.54.11.85]) by puma.inf.ufrgs.br (Postfix) with ESMTP id 5EA9F78DD5; Fri, 16 Sep 2005 17:25:44 -0300 (BRT) From: Rodrigo Virote Kassick To: asa@agava.com Content-Type: multipart/mixed; boundary="=-lNjw8zIV/FKA8OWZd8w3" Date: Fri, 16 Sep 2005 17:26:11 -0300 Message-Id: <1126902371.11819.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Cc: ports@FreeBSD.org Subject: FreeBSD Port: cups-1.1.23.0 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: Fri, 16 Sep 2005 20:25:56 -0000 --=-lNjw8zIV/FKA8OWZd8w3 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, I changed the cups Makefile.common (ports/cups/Makefile.common) to allow the use of PAM when compiled with WITH_CUPS_PAM. New Makefile.common as attachment. Could this new version be added to ports? Not willing to change the file at every ports update, Rodrigo Virote Kassick. --=-lNjw8zIV/FKA8OWZd8w3 Content-Disposition: attachment; filename=Makefile.common Content-Type: text/plain; name=Makefile.common; charset=utf-8 Content-Transfer-Encoding: 7bit # ex:ts=8 -*-mode: makefile-*- # Common file for CUPS ports # $FreeBSD: ports/print/cups/Makefile.common,v 1.23 2005/04/19 12:38:05 mr Exp $ CUPS_MASTER_SITES=\ ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${CUPS_VERSION}/ \ ftp://ftp.ntua.gr/pub/gnu/cups/${CUPS_VERSION}/ \ ftp://ftp.easysw.com/pub/cups/${CUPS_VERSION}/ \ ftp://ftp.fisek.com.tr/pub/cups/${CUPS_VERSION}/ \ ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${CUPS_VERSION}/ CUPS_VERSION= 1.1.23 CUPS_REVISION= 0 CUPS_PORTVER= ${CUPS_VERSION}.${CUPS_REVISION} CUPS_PORTREV= 0 CUPS_PORTEPOCH= 0 CUPS_FILESDIR= ${.CURDIR}/../../print/cups/files CUPS_ETCDIR= ${PREFIX}/etc/cups CUPS_RCDIR= ${PREFIX}/etc/rc.d CUPS_DOCSDIR= ${PREFIX}/share/doc/cups CUPS_SPOOLDIR= /var/spool/cups # file, dir ownership CUPSGRP= daemon CUPSOWN= root ###################################################################### # The rest of the file is for components (cups-base, cups-lpr) only. ###################################################################### .if ${PORTNAME} == "cups-base" || ${PORTNAME} == "cups-lpr" MANLANG= "" es fr .if ${CUPS_REVISION} < 1 DISTNAME= cups-${CUPS_VERSION}-source .else DISTNAME= cups-${CUPS_VERSION}-${CUPS_REVISION}-source .endif # ${CUPS_REVISION} < 1 DISTFILES= ${DISTNAME}.tar.bz2 MD5_FILE= ${.CURDIR}/../../print/cups/distinfo WRKSRC= ${WRKDIR}/cups-${CUPS_VERSION} LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff .if defined(WITH_PHP) CONFIGURE_ARGS+= --with-php RUN_DEPENDS+= php:${PORTSDIR}/lang/php4 .endif .if defined(WITH_PYTHON) CONFIGURE_ARGS+= --with-python USE_PYTHON= yes .endif .if defined(WITH_CUPS_LIBPAPER) CONFIGURE_ARGS+= --enable-libpaper LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper .endif .if defined(WITH_CUPS_PAM) CONFIGURE_ARGS+= --enable-pam .else CONFIGURE_ARGS+= --disable-pam .endif USE_BZIP2= yes USE_GMAKE= yes USE_PERL5_RUN= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --localstatedir=/var \ --disable-slp \ --with-cups-user=${CUPSOWN} \ --with-cups-group=${CUPSGRP} \ --with-docdir=${CUPS_DOCSDIR} \ --with-rcdir=${CUPS_RCDIR} .if !defined(WITHOUT_GNUTLS) CONFIGURE_ARGS+= --enable-gnutls --disable-openssl LIB_DEPENDS+= gnutls-openssl.12:${PORTSDIR}/security/gnutls .endif CONFIGURE_ARGS+= CPPFLAGS="-I.. -I${LOCALBASE}/include" CONFIGURE_ARGS+= DSOFLAGS="-Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib" CONFIGURE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" pre-configure:: @${ECHO_MSG} Configuring CUPS with options: @${ECHO_MSG} ${CONFIGURE_ARGS} | fmt .endif # ${PORTNAME} != "cups" --=-lNjw8zIV/FKA8OWZd8w3--