summaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-8
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-04 01:19:40 +0000
committerpav <pav@FreeBSD.org>2005-11-04 01:19:40 +0000
commit85d1a2068cf5198e6bbc4f1e7a0890221371e3fc (patch)
treeeb12a8eb183f5b2c044ea8b84501b3d155a50d51 /emulators/linux_base-8
parent8fcae759effe3497ae6909d464f6c35fe9c7cff2 (diff)
downloadFreeBSD-ports-85d1a2068cf5198e6bbc4f1e7a0890221371e3fc.zip
FreeBSD-ports-85d1a2068cf5198e6bbc4f1e7a0890221371e3fc.tar.gz
- Unbreak on amd64: manually run build-locale-archive that is usually runned
by rpm, but we use --noscripts here - Portlint
Diffstat (limited to 'emulators/linux_base-8')
-rw-r--r--emulators/linux_base-8/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile
index 69a8946..2456532 100644
--- a/emulators/linux_base-8/Makefile
+++ b/emulators/linux_base-8/Makefile
@@ -13,8 +13,7 @@ CATEGORIES= emulators linux
MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX} \
${MASTER_SITE_REDHAT_LINUX:S/$/:new/} \
ftp://mirror.switch.ch/mirror/ximian/mono/redhat-80-i386/:ft
-MASTER_SITE_SUBDIR= \
- ${PORTVERSION}/${LANG}/os/${ARCH}/RedHat/RPMS \
+MASTER_SITE_SUBDIR= ${PORTVERSION}/${LANG}/os/${ARCH}/RedHat/RPMS \
updates/${PORTVERSION}/${LANG}/os/${ARCH}/:new
DISTFILES= redhat-release-8.0-8.noarch.rpm \
glibc-common-2.3.2-4.80.8.${ARCH}.rpm:new \
@@ -71,10 +70,6 @@ LANG= en
.include <bsd.port.pre.mk>
-.if ${ARCH} == amd64
-BROKEN= "Incorrect pkg-plist"
-.endif
-
DBPATH= /var/lib/rpm
RPM= LC_ALL=C rpm
RPMFLAGS= --root ${PREFIX} --dbpath ${DBPATH} --nodeps \
@@ -130,6 +125,12 @@ do-install:
#
@${ECHO_CMD} -e '/lib\n/usr/lib\n/usr/X11R6/lib' > ${PREFIX}/etc/ld.so.conf
#
+# Build locale-archive manually, we passes --noscripts to rpm
+#
+.if ${MACHINE_ARCH} == "amd64"
+ @${PREFIX}/usr/sbin/build-locale-archive
+.endif
+#
# Finish
#
@for D in ${REMOVE_DIRS}; do \
OpenPOWER on IntegriCloud