diff options
-rw-r--r-- | gnu/usr.bin/cvs/cvs/Makefile | 11 | ||||
-rw-r--r-- | gnu/usr.bin/cvs/mkmodules/Makefile | 11 |
2 files changed, 8 insertions, 14 deletions
diff --git a/gnu/usr.bin/cvs/cvs/Makefile b/gnu/usr.bin/cvs/cvs/Makefile index 6af8b81..d506fd1 100644 --- a/gnu/usr.bin/cvs/cvs/Makefile +++ b/gnu/usr.bin/cvs/cvs/Makefile @@ -7,12 +7,8 @@ PROG = ncvs CFLAGS += -I${.CURDIR}/../lib \ -DDIRENT -DSTDC_HEADERS -DPOSIX -DBROKEN_SIGISMEMBER \ -DFTIME_MISSING -DHAVE_TIMEZONE -DUTIME_NULL_MISSING - -.if exists(${.CURDIR}/../lib/obj) -LDADD= -L${.CURDIR}/../lib/obj -lcvs -.else -LDADD= -L${.CURDIR}/../lib/ -lcvs -.endif +DPADD+= ${LIBCVS} +LDADD+= -lcvs .if defined(FREEBSD_DEVELOPER) CFLAGS+= -DFREEBSD_DEVELOPER @@ -32,5 +28,6 @@ MAN5= cvs.5 check: @echo `pwd` ${.CURDIR} -.include <bsd.prog.mk> .include "../../Makefile.inc" +.include "../Makefile.inc" +.include <bsd.prog.mk> diff --git a/gnu/usr.bin/cvs/mkmodules/Makefile b/gnu/usr.bin/cvs/mkmodules/Makefile index bec0bd6..4a6ec7c 100644 --- a/gnu/usr.bin/cvs/mkmodules/Makefile +++ b/gnu/usr.bin/cvs/mkmodules/Makefile @@ -1,12 +1,9 @@ PROG = mkmodules SRCS = mkmodules.c CFLAGS += -I${.CURDIR}/../cvs -I${.CURDIR}/../lib +DPADD+= ${LIBCVS} +LDADD+= -lcvs -.if exists(${.CURDIR}/../lib/obj) -LDADD= -L${.CURDIR}/../lib/obj -lcvs -.else -LDADD= -L${.CURDIR}/../lib/ -lcvs -.endif - -.include <bsd.prog.mk> .include "../../Makefile.inc" +.include "../Makefile.inc" +.include <bsd.prog.mk> |