diff options
author | obache <obache@pkgsrc.org> | 2014-05-20 11:29:25 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-05-20 11:29:25 +0000 |
commit | d9e44cbdd9ead13386492b0d7749f63df5504db0 (patch) | |
tree | a9113d54397491a19a78f0d3c414c3bf48e66961 /emulators/xtrs/Makefile | |
parent | d26b955cdb369c1d05b88aa78072f0bea54d02bc (diff) | |
download | pkgsrc-d9e44cbdd9ead13386492b0d7749f63df5504db0.tar.gz |
Use ${COMPILER_RPATH_FLAG} instead of bare "-Wl,-R", and ${PKGMANDIR} instead
of "man".
Diffstat (limited to 'emulators/xtrs/Makefile')
-rw-r--r-- | emulators/xtrs/Makefile | 6 |
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 |