aboutsummaryrefslogtreecommitdiff
path: root/net/hesiod
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /net/hesiod
parent637c4e8f19438274164c0673ec85af739aba205b (diff)
downloadports-96bc8048c3217bb231f2f30eadeb628134b557f5.tar.gz
ports-96bc8048c3217bb231f2f30eadeb628134b557f5.zip
Notes
Diffstat (limited to 'net/hesiod')
-rw-r--r--net/hesiod/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/net/hesiod/Makefile b/net/hesiod/Makefile
index 62e9db4ddeac..860693495738 100644
--- a/net/hesiod/Makefile
+++ b/net/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>