summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2000-01-13 05:12:15 +0000
committersimonb <simonb@pkgsrc.org>2000-01-13 05:12:15 +0000
commitbffb1ad20280f05c10d96957a187bb9a4f774098 (patch)
treef2210321ed0b512be885f49037accc2abc15e448 /www
parent349cbdc6d0cb75860217c84707c273d24cf72e4c (diff)
downloadpkgsrc-bffb1ad20280f05c10d96957a187bb9a4f774098.tar.gz
Use LDFLAGS to get ELF -Wl,-R stuff, and use USE_X11 to get X library
paths.
Diffstat (limited to 'www')
-rw-r--r--www/ns-remote/Makefile3
-rw-r--r--www/ns-remote/files/Makefile5
2 files changed, 5 insertions, 3 deletions
diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile
index 55bd8ced910..877e0421f74 100644
--- a/www/ns-remote/Makefile
+++ b/www/ns-remote/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/01/12 15:03:41 abs Exp $
+# $NetBSD: Makefile,v 1.2 2000/01/13 05:12:15 simonb Exp $
DISTNAME= ns-remote
PKGNAME= ns-remote-1.1
@@ -12,6 +12,7 @@ HOMEPAGE= http://home.netscape.com/newsref/std/x-remote.html
# fill in when done...
# DEPENDS+= ../communicator
DIST_SUBDIR= netscape
+USE_X11= yes
do-extract:
${MKDIR} ${WRKSRC}
diff --git a/www/ns-remote/files/Makefile b/www/ns-remote/files/Makefile
index cd2d05e6340..e985a1efdc7 100644
--- a/www/ns-remote/files/Makefile
+++ b/www/ns-remote/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/01/12 15:03:42 abs Exp $
+# $NetBSD: Makefile,v 1.2 2000/01/13 05:12:16 simonb Exp $
#
# Very simple Makefile used to compile Netscape's ns-remote program
#
@@ -9,7 +9,8 @@ X11BASE?= /usr/X11R6
all: ${PROG}
${PROG}: remote.c
- ${CC} ${CFLAGS} -o ${PROG} remote.c -DSTANDALONE -I${X11BASE}/include -L${X11BASE}/lib -lXmu -lX11
+ ${CC} ${CFLAGS} -o ${PROG} remote.c -DSTANDALONE -I${X11BASE}/include \
+ ${LDFLAGS} -lXmu -lXt -lSM -lICE -lXext -lX11
clean:
rm ${PROG}