summaryrefslogtreecommitdiff
path: root/graphics/jhead
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-14 19:37:30 +0000
committerjlam <jlam>2003-03-14 19:37:30 +0000
commita771eb7968c94f0addf4db20c476555536382e51 (patch)
tree4ee2e06249d68477cf3fb68be1f095453bcec90d /graphics/jhead
parentf11a46ae0626751873aec65de2e0341f70f610e7 (diff)
downloadpkgsrc-a771eb7968c94f0addf4db20c476555536382e51.tar.gz
(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.
Diffstat (limited to 'graphics/jhead')
-rw-r--r--graphics/jhead/Makefile4
1 files changed, 2 insertions, 2 deletions
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