pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/freeradius Move buildlink3.mk files ahead of make ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2957c6bcfe8d
branches: trunk
changeset: 485727:2957c6bcfe8d
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Dec 19 18:59:12 2004 +0000
description:
Move buildlink3.mk files ahead of make targets as per doc/Makefile-example.
diffstat:
net/freeradius/Makefile | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diffs (61 lines):
diff -r f7e368394822 -r 2957c6bcfe8d net/freeradius/Makefile
--- a/net/freeradius/Makefile Sun Dec 19 18:31:30 2004 +0000
+++ b/net/freeradius/Makefile Sun Dec 19 18:59:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/11/16 13:51:45 adrianp Exp $
+# $NetBSD: Makefile,v 1.19 2004/12/19 18:59:12 jlam Exp $
DISTNAME= freeradius-1.0.1
PKGREVISION= 4
@@ -81,6 +81,26 @@
.endfor
.undef f
+.include "../../security/openssl/buildlink3.mk"
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+= --without-threads
+.endif
+
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
+.include "../../devel/pthread-sem/buildlink3.mk"
+SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \
+ -lpthread -lsemaphore|g"
+.endif
+
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
+SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \
+ -lpthread|g"
+.endif
+
pre-build:
cd ${WRKSRC} && ${LN} -s src/lib lib
@@ -101,24 +121,4 @@
@${MKDIR} ${PKG_SYSCONFDIR}/certs/demoCA
cd ${WRKSRC} && ${FIND} . -name .libs | ${XARGS} ${RM} -rf
-.include "../../security/openssl/buildlink3.mk"
-.include "../../databases/gdbm/buildlink3.mk"
-.include "../../devel/libltdl/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
-CONFIGURE_ARGS+= --without-threads
-.endif
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
-.include "../../devel/pthread-sem/buildlink3.mk"
-SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \
- -lpthread -lsemaphore|g"
-.endif
-
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
-SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \
- -lpthread|g"
-.endif
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index