summaryrefslogtreecommitdiff
path: root/net/pppd/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-03-21 04:59:44 +0000
committerobache <obache@pkgsrc.org>2011-03-21 04:59:44 +0000
commit11bac6690645f3c7763dfa905fd1935139cbeaf0 (patch)
tree958aaec6d6cef54d3d0876ac2b9f76525887aab7 /net/pppd/Makefile
parent904532d7b15ecd3d88a7cd4625f13a0506a2ec32 (diff)
downloadpkgsrc-11bac6690645f3c7763dfa905fd1935139cbeaf0.tar.gz
simplify destdir support.
Diffstat (limited to 'net/pppd/Makefile')
-rw-r--r--net/pppd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/pppd/Makefile b/net/pppd/Makefile
index a4d7572c330..6486ffe0464 100644
--- a/net/pppd/Makefile
+++ b/net/pppd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2011/03/20 12:35:28 obache Exp $
+# $NetBSD: Makefile,v 1.11 2011/03/21 04:59:44 obache Exp $
DISTNAME= ppp-${PPPD_VERSION}
PKGNAME= ${DISTNAME:S/ppp/&d/}
@@ -24,6 +24,7 @@ CONFIGURE_ENV+= PREFIX=${PREFIX:Q} PKGSYSCONFDIR=${PKG_SYSCONFDIR:Q}
PPPD_VERSION= 2.4.3
PLIST_SUBST+= PPPD_VERSION=${PPPD_VERSION:Q}
-.include "../../mk/bsd.pkg.mk"
-# put here to over default flag.
+DESTDIR_VARNAME= #empty
INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"