diff options
Diffstat (limited to 'editors/sam/Makefile')
-rw-r--r-- | editors/sam/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/editors/sam/Makefile b/editors/sam/Makefile index 127a5a6f00e..9a4203b7667 100644 --- a/editors/sam/Makefile +++ b/editors/sam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1999/07/02 08:37:28 agc Exp $ +# $NetBSD: Makefile,v 1.11 1999/08/24 19:01:43 agc Exp $ # FreeBSD Id: Makefile,v 1.3 1996/11/12 02:19:40 obrien Exp # @@ -13,12 +13,20 @@ MAINTAINER= packages@netbsd.org NO_WRKSUBDIR= yes EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH} +MANCOMPRESSED= yes +USE_X11= yes + .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" -MANCOMPRESSED= yes +.if ${OPSYS} == "SunOS" +.if ${X11BASE} != "/usr/openwin" +OTHER_X_LIBS= -lSM -lICE +.endif +do-build: + for d in libXg libframe sam samterm; do \ + (cd ${WRKSRC}/$$d; make -f Make.solaris \ + OTHER_X_LIBS="${OTHER_X_LIBS}"); \ + done .endif - -USE_X11= yes .include "../../mk/bsd.pkg.mk" |