Lines 78-84
Link Here
|
78 |
|
78 |
|
79 |
PLIST= ${WRKDIR}/pkg-plist |
79 |
PLIST= ${WRKDIR}/pkg-plist |
80 |
MOZ_EXTENSIONS= default |
80 |
MOZ_EXTENSIONS= default |
81 |
CONFIGURE_ENV= LOCALBASE=${LOCALBASE} |
81 |
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} LDFLAGS="${LDFLAGS} -Wl,-rpath,${X11BASE}/lib/mozilla" |
82 |
PKGINSTALL= ${WRKDIR}/pkg-install |
82 |
PKGINSTALL= ${WRKDIR}/pkg-install |
83 |
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall |
83 |
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall |
84 |
FREETYPE_LIB= libfreetype.so.9 |
84 |
FREETYPE_LIB= libfreetype.so.9 |
Lines 244-249
Link Here
|
244 |
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp |
244 |
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp |
245 |
@${REINPLACE_CMD} -E -e 's|libfreetype\.so\.[0-9]+|${FREETYPE_LIB}|g' \ |
245 |
@${REINPLACE_CMD} -E -e 's|libfreetype\.so\.[0-9]+|${FREETYPE_LIB}|g' \ |
246 |
${WRKSRC}/modules/libpref/src/init/all.js |
246 |
${WRKSRC}/modules/libpref/src/init/all.js |
|
|
247 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ |
248 |
${WRKSRC}/nsprpub/config/nspr-config.in ${WRKSRC}/nsprpub/config/autoconf.mk.in |
247 |
@for pcfile in ${PKGCONFIG_FILES}; do \ |
249 |
@for pcfile in ${PKGCONFIG_FILES}; do \ |
248 |
${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}${PKGNAMESUFFIX}|g ; \ |
250 |
${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}${PKGNAMESUFFIX}|g ; \ |
249 |
s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}${PKGNAMESUFFIX}|g' \ |
251 |
s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}${PKGNAMESUFFIX}|g' \ |
Lines 269-274
Link Here
|
269 |
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ |
271 |
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ |
270 |
${FALSE}; \ |
272 |
${FALSE}; \ |
271 |
fi |
273 |
fi |
|
|
274 |
|
275 |
post-build: |
276 |
${REINPLACE_CMD} -e "s|\(Libs:.*\)\($$\)|\1 -Wl,-rpath,${PREFIX}/lib/mozilla\2|" ${WRKSRC}/build/unix/*.pc |
272 |
|
277 |
|
273 |
pre-install: |
278 |
pre-install: |
274 |
${RM} -rf ${FAKEDIR} ${PLIST} |
279 |
${RM} -rf ${FAKEDIR} ${PLIST} |