summaryrefslogtreecommitdiff
path: root/emulators/suse_base
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-11-01 16:08:02 +0000
committeritojun <itojun@pkgsrc.org>2000-11-01 16:08:02 +0000
commit8be9b95138e6668e8892e0ea5e31cfe884ac96cd (patch)
treecb1f4809f84afa70c1facffc955b75dddc1af42f /emulators/suse_base
parenta945e1d7e263701f254c4cf42493e25b0fe88d99 (diff)
downloadpkgsrc-8be9b95138e6668e8892e0ea5e31cfe884ac96cd.tar.gz
comment on librpm -> libintl dependency
Diffstat (limited to 'emulators/suse_base')
-rw-r--r--emulators/suse_base/Makefile16
1 files changed, 9 insertions, 7 deletions
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