From a771eb7968c94f0addf4db20c476555536382e51 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 14 Mar 2003 19:37:30 +0000 Subject: (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG; Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles. --- graphics/jhead/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/jhead') diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile index ef82c407d02..3d06f42a240 100644 --- a/graphics/jhead/Makefile +++ b/graphics/jhead/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2003/01/09 15:28:07 mycroft Exp $ +# $NetBSD: Makefile,v 1.10 2003/03/14 19:37:40 jlam Exp $ # DISTNAME= jhead-1.9 @@ -9,7 +9,7 @@ MAINTAINER= veego@netbsd.org HOMEPAGE= http://www.sentex.net/~mwandel/jhead/ COMMENT= Extract EXIF header from JPEG image -LIBS= -lm -L${BUILDLINK_PREFIX.jpeg}/lib -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -ljpeg +LIBS= -lm -L${BUILDLINK_PREFIX.jpeg}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.jpeg}/lib -ljpeg USE_BUILDLINK2= yes -- cgit v1.2.3