summaryrefslogtreecommitdiff
path: root/net/pppd
diff options
context:
space:
mode:
authorobache <obache>2011-03-21 04:59:44 +0000
committerobache <obache>2011-03-21 04:59:44 +0000
commit53e12f99b03f391a30eb30b50383e6d6585eede6 (patch)
tree958aaec6d6cef54d3d0876ac2b9f76525887aab7 /net/pppd
parent90c4f79589214edb28cba637283279bd1ad189bf (diff)
downloadpkgsrc-53e12f99b03f391a30eb30b50383e6d6585eede6.tar.gz
simplify destdir support.
Diffstat (limited to 'net/pppd')
-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"