summaryrefslogtreecommitdiff
path: root/net/rp-l2tp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/rp-l2tp/Makefile')
-rw-r--r--net/rp-l2tp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/rp-l2tp/Makefile b/net/rp-l2tp/Makefile
index 504d3843b89..0eec5da208e 100644
--- a/net/rp-l2tp/Makefile
+++ b/net/rp-l2tp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:24 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2007/12/22 13:01:07 obache Exp $
#
DISTNAME= rp-l2tp-0.3
@@ -16,6 +16,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
USE_TOOLS+= gmake
+INSTALL_MAKE_FLAGS+= RPM_INSTALL_ROOT=${DESTDIR:Q}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
post-patch:
for f in l2tp.conf.5 l2tpd.8; do \
${MV} ${WRKSRC}/man/$$f ${WRKSRC}/man/$$f.in && \