pkgsrc-ng/sysutils/amanda-common/patches/patch-device-src_Makefile.am
2013-09-26 17:14:40 +02:00

27 lines
702 B
Plaintext

$NetBSD: patch-device-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- device-src/Makefile.am.orig 2012-02-21 11:36:44.000000000 +0000
+++ device-src/Makefile.am
@@ -43,8 +43,8 @@ libamdevice_la_SOURCES = \
xfer-dest-taper-splitter.c \
xfer-source-recovery.c
libamdevice_la_LIBADD = \
- ../common-src/libamanda.la \
- ../xfer-src/libamxfer.la
+ -lamanda \
+ -lamxfer
if WANT_TAPE_DEVICE
libamdevice_la_SOURCES += tape-device.c
@@ -60,7 +60,7 @@ endif
if WANT_NDMP_DEVICE
libamdevice_la_SOURCES += ndmp-device.c
-libamdevice_la_LIBADD += ../ndmp-src/libndmlib.la
+libamdevice_la_LIBADD += -lndmlib
endif
## automake-style tests