diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /dns/hesiod | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip |
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'dns/hesiod')
-rw-r--r-- | dns/hesiod/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/dns/hesiod/Makefile b/dns/hesiod/Makefile index 62e9db4ddeac..860693495738 100644 --- a/dns/hesiod/Makefile +++ b/dns/hesiod/Makefile @@ -3,7 +3,7 @@ # Date created: 6/11/1998 # Whom: n@nectar.com # -# $Id: Makefile,v 1.2 1998/07/05 13:09:46 asami Exp $ +# $Id: Makefile,v 1.3 1998/10/07 19:34:45 nectar Exp $ # DISTNAME= hesiod-3.0.2 @@ -23,16 +23,7 @@ MAN5= hesiod.conf.5 GNU_CONFIGURE= YES -post-install: - ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib - -.include <bsd.port.mk> - -.if !defined(PORTOBJFORMAT) # bsd.port.mk must be out of date -PORTOBJFORMAT= aout -CONFIGURE_ENV+= PORTOBJFORMAT="${PORTOBJFORMAT}" -MAKE_ENV+= PORTOBJFORMAT="${PORTOBJFORMAT}" -.endif +.include <bsd.port.pre.mk> .if ${PORTOBJFORMAT} == elf SHLIB=libhesiod.so.3 @@ -43,3 +34,8 @@ CONFIGURE_ENV+= LDFLAGS="-shared" .endif MAKE_ENV+= SHLIB="${SHLIB}" + +post-install: + ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.post.mk> |