summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-20 12:33:18 +0000
committerobache <obache@pkgsrc.org>2014-05-20 12:33:18 +0000
commite69b9240a801ef2d395b0f1d0e886d4f7638644e (patch)
tree93da786513d818107c8d86e6b7cdfbda8d7765ad /emulators
parent8f21ff722e62f5176d53d70c50d44416c4d605dd (diff)
downloadpkgsrc-e69b9240a801ef2d395b0f1d0e886d4f7638644e.tar.gz
Pass EXTRALIBS with MAKE_FLAGS, multiple commented out lines in Makefile.local.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xtrs/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/emulators/xtrs/Makefile b/emulators/xtrs/Makefile
index 0e080d8fbfd..292fe138587 100644
--- a/emulators/xtrs/Makefile
+++ b/emulators/xtrs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2014/05/20 12:26:11 obache Exp $
+# $NetBSD: Makefile,v 1.25 2014/05/20 12:33:18 obache Exp $
#
DISTNAME= xtrs-4.9d
@@ -21,7 +21,6 @@ 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|^\#EXTRALIBS.*|EXTRALIBS=${BUILDLINK_LDADD.oss}|'
SUBST_SED.mf+= -e 's|/share/man|/${PKGMANDIR}|g'
SUBST_CLASSES+= oss
@@ -32,6 +31,10 @@ SUBST_SED.oss= -e 's|/dev/dsp|${DEVOSSSOUND}|g'
SUBST_SED.oss+= -e 's|if __linux|if 1|'
.endif
+.if ${OSS_TYPE} != none
+MAKE_FLAGS+= EXTRALIBS=${BUILDLINK_LDADD.oss}
+.endif
+
SUBST_CLASSES+= termcap
SUBST_STAGE.termcap= post-configure
SUBST_FILES.termcap= Makefile.local