From 96bc8048c3217bb231f2f30eadeb628134b557f5 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: 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. --- mail/imap-uw/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'mail') diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 6b07f8ef59d0..c7ee09d22500 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -3,7 +3,7 @@ # Date created: 9 Jan 1997 # Whom: pst # -# $Id: Makefile,v 1.20 1998/10/23 18:42:49 asami Exp $ +# $Id: Makefile,v 1.21 1998/10/26 13:54:20 steve Exp $ # DISTNAME= imap-4.2 @@ -18,6 +18,14 @@ MAINTAINER= imap-uw@freebsd.ady.ro ALL_TARGET= bsf MAN8= ipopd.8 imapd.8 +.include + +.if ${PORTOBJFORMAT} == "elf" +SHLIB= libc-client.so.2 +.else +SHLIB= libc-client.so.2.1 +.endif + #pre-build: # @chmod 755 ${WRKSRC}/src/osdep/unix/drivers ${WRKSRC}/src/osdep/unix/mkauths @@ -42,10 +50,4 @@ do-install: post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.include - -.if ${PORTOBJFORMAT} == "elf" -SHLIB= libc-client.so.2 -.else -SHLIB= libc-client.so.2.1 -.endif +.include -- cgit v1.2.3