summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache>2014-05-20 11:29:25 +0000
committerobache <obache>2014-05-20 11:29:25 +0000
commit2e8400e8eb9fe45bbc251e8469ca1c0befa7cbdb (patch)
tree1f96930816bfc257e7051aa063e5c762b5777e5d /emulators
parent07823422c37250df907ce47a20b89fc9a4ac59d2 (diff)
downloadpkgsrc-2e8400e8eb9fe45bbc251e8469ca1c0befa7cbdb.tar.gz
Use ${COMPILER_RPATH_FLAG} instead of bare "-Wl,-R", and ${PKGMANDIR} instead
of "man".
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xtrs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/xtrs/Makefile b/emulators/xtrs/Makefile
index 950770c6de9..791d78dbf6c 100644
--- a/emulators/xtrs/Makefile
+++ b/emulators/xtrs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2013/10/17 08:24:06 roy Exp $
+# $NetBSD: Makefile,v 1.22 2014/05/20 11:29:25 obache Exp $
#
DISTNAME= xtrs-4.9d
@@ -21,9 +21,9 @@ SUBST_FILES.mf= Makefile.local
SUBST_SED.mf= -e 's|/usr/local|${PREFIX}|g'
SUBST_SED.mf+= -e 's|/usr/X11/|${X11PREFIX}/|g'
SUBST_SED.mf+= -e 's|/usr/include/X11|${X11BASE}/include|g'
-SUBST_SED.mf+= -e 's|^\(LDFLAGS = \)-L/usr/X11R6/lib|\1-Wl,-R${X11BASE}/lib -L${X11BASE}/lib|g'
+SUBST_SED.mf+= -e 's|^\(LDFLAGS = \)-L/usr/X11R6/lib|\1${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib|g'
SUBST_SED.mf+= -e 's|^\#EXTRALIBS.*|EXTRALIBS=${BUILDLINK_LDADD.oss}|'
-SUBST_SED.mf+= -e 's|/share/man|/man|g'
+SUBST_SED.mf+= -e 's|/share/man|/${PKGMANDIR}|g'
SUBST_CLASSES+= oss
SUBST_STAGE.oss= post-patch