summaryrefslogtreecommitdiff
path: root/sysutils/amanda-server
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/amanda-server')
-rw-r--r--sysutils/amanda-server/Makefile10
-rw-r--r--sysutils/amanda-server/PLIST4
2 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/amanda-server/Makefile b/sysutils/amanda-server/Makefile
index 486bf80eda1..686c1fcb18d 100644
--- a/sysutils/amanda-server/Makefile
+++ b/sysutils/amanda-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2008/02/15 16:23:09 gdt Exp $
+# $NetBSD: Makefile,v 1.44 2008/04/12 22:43:12 jlam Exp $
PKGNAME= amanda-server-${VERS}
SVR4_PKGNAME= amase
@@ -39,11 +39,9 @@ CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
# ${INSTALL_DATA} $$i ${PREFIX}/share/examples/amanda; \
# done
-.if ${OPSYS} == "SunOS"
-PLIST_SRC= ${WRKDIR}/PLIST-src
-
-pre-install:
- ${SED} -e 's|^libexec/chg-scsi$$|@comment libexec/chg-scsi needs headers...|' ${PKGDIR}/PLIST > ${PLIST_SRC}
+PLIST_VARS+= scsi
+.if ${OPSYS} != "SunOS"
+PLIST.scsi= yes
.endif
.include "../../sysutils/amanda-common/buildlink3.mk"
diff --git a/sysutils/amanda-server/PLIST b/sysutils/amanda-server/PLIST
index 9f4d1f9897c..1df17795544 100644
--- a/sysutils/amanda-server/PLIST
+++ b/sysutils/amanda-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2008/02/15 16:23:09 gdt Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:12 jlam Exp $
lib/libamserver.la
lib/libamtape.la
lib/librestore.la
@@ -21,7 +21,7 @@ libexec/chg-multi
libexec/chg-null
libexec/chg-rait
libexec/chg-rth
-libexec/chg-scsi
+${PLIST.scsi}libexec/chg-scsi
libexec/chg-zd-mtx
libexec/chunker
libexec/driver