pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libgtop2 Set GNU_CONFIGURE and USE_LIBTOOL be...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8f16a5f9a45
branches:  trunk
changeset: 474700:e8f16a5f9a45
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue May 04 04:55:49 2004 +0000

description:
Set GNU_CONFIGURE and USE_LIBTOOL before including bsd.prefs.mk to
benefit from predefined lt_cv_sys_max_cmd_len.

diffstat:

 sysutils/libgtop2/Makefile |  34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (55 lines):

diff -r ef57ab51c86b -r e8f16a5f9a45 sysutils/libgtop2/Makefile
--- a/sysutils/libgtop2/Makefile        Tue May 04 04:26:43 2004 +0000
+++ b/sysutils/libgtop2/Makefile        Tue May 04 04:55:49 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/04/12 15:53:42 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2004/05/04 04:55:49 minskim Exp $
 
 DISTNAME=              libgtop-2.6.0
 PKGNAME=               ${DISTNAME:S/-/2-/}
@@ -17,22 +17,6 @@
 OSVERSION_SPECIFIC=    YES
 USE_MSGFMT_PLURALS=    YES
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == NetBSD
-.  if (${MACHINE_ARCH} != alpha) && \
-       (${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
-       (${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
-       (${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
-       (${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64) && \
-       (${MACHINE_ARCH} != x86_64)
-PKG_FAIL_REASON=       "${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
-PKG_FAIL_REASON+=      "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
-PKG_FAIL_REASON+=      "and update ${WRKSRC}/sysdeps/freebsd/prockernel.c appropriately."
-PKG_FAIL_REASON+=      "(More information can be found in libgtop.info.)"
-.  endif
-.endif
-
 USE_PERL5=             build
 USE_BUILDLINK3=                YES
 USE_PKGLOCALEDIR=      YES
@@ -56,6 +40,22 @@
 CONFIGURE_ARGS+=       --without-x
 CONFIGURE_ENV+=                AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == NetBSD
+.  if (${MACHINE_ARCH} != alpha) && \
+       (${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
+       (${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
+       (${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
+       (${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64) && \
+       (${MACHINE_ARCH} != x86_64)
+PKG_FAIL_REASON=       "${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
+PKG_FAIL_REASON+=      "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
+PKG_FAIL_REASON+=      "and update ${WRKSRC}/sysdeps/freebsd/prockernel.c appropriately."
+PKG_FAIL_REASON+=      "(More information can be found in libgtop.info.)"
+.  endif
+.endif
+
 .if ${OPSYS} == "Linux"
 PLIST_SUBST+=  LIBGTOP_SERVER="@comment "
 .else



Home | Main Index | Thread Index | Old Index