From 8be9b95138e6668e8892e0ea5e31cfe884ac96cd Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 1 Nov 2000 16:08:02 +0000 Subject: comment on librpm -> libintl dependency --- emulators/suse_base/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'emulators') diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile index 182d8da648a..ecbef895704 100644 --- a/emulators/suse_base/Makefile +++ b/emulators/suse_base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/11/01 16:03:26 itojun Exp $ +# $NetBSD: Makefile,v 1.14 2000/11/01 16:08:02 itojun Exp $ DISTNAME= suse_base-6.3 CATEGORIES= emulators @@ -15,12 +15,6 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 EXTRACT_ONLY= # empty PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC -USE_LIBINTL= yes -.if exists(/usr/include/libintl.h) -LIBINTL= -lintl -.else -LIBINTL= -L${LOCALBASE} -lintl -.endif # Careful! The ncurses-p1.rpm file doesn't come from SuSE, quite. # It's been rebuilt to use seteuid() where an ill-advised SuSE patch @@ -36,6 +30,14 @@ RPMIGNOREPATH= tmp usr/tmp var LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd RPMLIB= ${LOCALBASE}/lib/librpm.a +# librpm.a needs libintl.a +USE_LIBINTL= yes +.if exists(/usr/include/libintl.h) +LIBINTL= -lintl +.else +LIBINTL= -L${LOCALBASE} -lintl +.endif + do-build: ${CC} ${FILESDIR}/rpm2pkg.c ${CFLAGS} -I${PREFIX}/include/rpm \ ${RPMLIB} -lz ${LIBINTL} -o ${WRKSRC}/rpm2pkg -- cgit v1.2.3