summaryrefslogtreecommitdiff
path: root/emulators/suse_base
diff options
context:
space:
mode:
authoritojun <itojun>2000-11-01 16:08:02 +0000
committeritojun <itojun>2000-11-01 16:08:02 +0000
commit1655f6362dafe5191713e99e33b1478ae636587d (patch)
treecb1f4809f84afa70c1facffc955b75dddc1af42f /emulators/suse_base
parent2bb299c09d055fea70fd703df6b0828bf9f848ad (diff)
downloadpkgsrc-1655f6362dafe5191713e99e33b1478ae636587d.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