summaryrefslogtreecommitdiff
path: root/misc/vfu
diff options
context:
space:
mode:
Diffstat (limited to 'misc/vfu')
-rw-r--r--misc/vfu/Makefile16
-rw-r--r--misc/vfu/patches/patch-ad15
2 files changed, 22 insertions, 9 deletions
diff --git a/misc/vfu/Makefile b/misc/vfu/Makefile
index 4681c143a55..5daab7fadc8 100644
--- a/misc/vfu/Makefile
+++ b/misc/vfu/Makefile
@@ -1,20 +1,18 @@
-# $NetBSD: Makefile,v 1.9 1999/06/05 21:41:51 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/06 08:05:51 jlam Exp $
#
-PKGNAME= vfu-1.51
-DISTNAME= ${PKGNAME}-source
-WRKSRC= ${WRKDIR}/${PKGNAME}
+DISTNAME= vfu-1.51
CATEGORIES= misc
MASTER_SITES= http://www.biscom.net/~cade/away/
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= -source.tgz
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.biscom.net/~cade/vfu/
-DEPENDS= ncurses-1.9.9g:../../devel/ncurses
+DEPENDS= ncurses-4.2:../../devel/ncurses
-MAKE_FLAGS+= CCDEF="-I${LOCALBASE}/include -DVFU_RCPATH1=\\\"${PREFIX}/etc/\\\" -DVFU_RCPATH2=\\\"${PREFIX}/\\\" -D__unix__" \
- LDDEF="-L${LOCALBASE}/lib"
+MAKE_FLAGS+= CCDEF="-DVFU_RCPATH1=\\\"${PREFIX}/etc/\\\" -DVFU_RCPATH2=\\\"${PREFIX}/\\\" -D__unix__" \
+ LDDEF="${LDFLAGS}"
do-build:
cd ${WRKSRC}/vslib ; \
@@ -27,7 +25,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vfu/vfu ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ftparc/ftparc ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vfu
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vfu
${INSTALL_DATA} \
${WRKSRC}/COPYING \
${WRKSRC}/INSTALL \
diff --git a/misc/vfu/patches/patch-ad b/misc/vfu/patches/patch-ad
new file mode 100644
index 00000000000..84d93abb650
--- /dev/null
+++ b/misc/vfu/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.5 1999/07/06 08:05:51 jlam Exp $
+
+--- ftparc/makefile.orig Wed Mar 3 14:33:58 1999
++++ ftparc/makefile Fri Jul 2 09:42:37 1999
+@@ -3,8 +3,8 @@
+ CC = g++
+ LD = g++
+ AR = ar rvs
+-CFLAGS = -I../vslib -O2 $(CCDEF)
+-CCFLAGS = -I../vslib -O2 $(CCDEF)
++CFLAGS = -I../vslib -I${LOCALBASE}/include -O2 $(CCDEF)
++CCFLAGS = -I../vslib -I${LOCALBASE}/include -O2 $(CCDEF)
+ LDFLAGS = -L../vslib -lvslib $(LDDEF)
+ ARFLAGS =
+ TARGET = ftparc