diff options
author | obache <obache> | 2014-05-20 12:33:18 +0000 |
---|---|---|
committer | obache <obache> | 2014-05-20 12:33:18 +0000 |
commit | 9445d7e6fe42379d0763de9beab563a4ced14484 (patch) | |
tree | 0b5edf3f17c9bcc56ca9a47f208d149535fcd180 /emulators | |
parent | 29b012b07b46a3cf41088d7131ff0c9ff07c5db5 (diff) | |
download | pkgsrc-9445d7e6fe42379d0763de9beab563a4ced14484.tar.gz |
Pass EXTRALIBS with MAKE_FLAGS, multiple commented out lines in Makefile.local.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xtrs/Makefile | 7 |
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 |