mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Unbreak on amd64: manually run build-locale-archive that is usually runned
by rpm, but we use --noscripts here - Portlint
This commit is contained in:
parent
1f32aef3eb
commit
bddd6528ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147180
1 changed files with 7 additions and 6 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue