summaryrefslogtreecommitdiff
path: root/sysutils/libgtop2
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-04 04:55:49 +0000
committerminskim <minskim@pkgsrc.org>2004-05-04 04:55:49 +0000
commitc674b3bdefd3a3d0d159bcf875719e10a17f6197 (patch)
tree29d388a351f8933f2efa16cad22b2f46b043cdf6 /sysutils/libgtop2
parente317401794dbd49fe089bd06904bc56848e890f7 (diff)
downloadpkgsrc-c674b3bdefd3a3d0d159bcf875719e10a17f6197.tar.gz
Set GNU_CONFIGURE and USE_LIBTOOL before including bsd.prefs.mk to
benefit from predefined lt_cv_sys_max_cmd_len.
Diffstat (limited to 'sysutils/libgtop2')
-rw-r--r--sysutils/libgtop2/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/sysutils/libgtop2/Makefile b/sysutils/libgtop2/Makefile
index 7c70d498617..495efa56a56 100644
--- a/sysutils/libgtop2/Makefile
+++ b/sysutils/libgtop2/Makefile
@@ -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 @@ NOT_FOR_PLATFORM= SunOS-*-*
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+= --with-catgets --with-libgtop-guile=no
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