Date: Tue, 14 Nov 2000 09:35:54 +0000 From: Roger Hardiman <roger@cs.strath.ac.uk> To: asami@FreeBSD.org Cc: ports@freebsd.org Subject: Adding AUTOMAKE_FLAGS to bsd.port.mk Message-ID: <3A11077A.C31A158A@cs.strath.ac.uk>
next in thread | raw e-mail | index | archive | help
Hi, Please can you consider this change to bsd.ports.mk It follows on from the audio/libao, audio/libogg, audio/vorbis-tools and audio/libvorbis ports I have been fixing recently. The Problem ----------- These 4 ports need to pass the '--add-missing' parameter to AUTOMAKE. So, I'd like to define a new variable AUTOMAKE_ARGS and change bsd.port.mk from this: .if defined(USE_AUTOMAKE) @(cd ${CONFIGURE_WRKSRC} && ${AUTOMAKE}) .endif to this: .if defined(USE_AUTOMAKE) @(cd ${CONFIGURE_WRKSRC} && ${AUTOMAKE} ${AUTOMAKE_ARGS}) .endif Then, in the port Makefiles I can put USE_AUTOMAKE= yes AUTOMAKE_ARGS += --add-missing. This makes the Port Makefile nice and clean and consistent with other parts of the Port System which allow arguments to be passed , eg CONFIGURE_ARGS What do you think to this change? Roger -- Roger Hardiman Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. http://www.telepresence.strath.ac.uk 0141 548 2897 roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A11077A.C31A158A>