mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Apply a couple clean-ups.
- Ditch pkg-message/%%DATADIR%% substitutions in favour of SUB_FILES and files/pkg-message.in. - Remove a rather horrific shell command used to generate a list of include dirs for c++(1). I'm not sure why it works without the shell command... or more specifically, I'm not sure what caused me to write it in the first place. In any event, it builds cleanly here as-is. I'm sure Kris will happily inform me of the inevitable breakages. - Space the Makefile a bit better.
This commit is contained in:
parent
5baac38237
commit
9dee8314d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134224
@ -34,6 +34,8 @@ MAKE_ARGS+= MOZILLA_PLATFORM=tbird
|
||||
FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb${TBVER}.xpi
|
||||
PLIST_FILES= share/${PORTNAME}/${FILENAME}
|
||||
PLIST_DIRS= share/${PORTNAME}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -43,17 +45,14 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|-fshort-wchar||" \
|
||||
${WRKSRC}/components/Makefile
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e "s|%%TBVER%%|${TBVER}|" \
|
||||
${WRKSRC}/components/Makefile
|
||||
|
||||
post-build:
|
||||
@${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
@${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- components/Makefile.orig Sat Mar 19 22:30:21 2005
|
||||
+++ components/Makefile Sat Mar 19 22:32:11 2005
|
||||
@@ -17,7 +17,10 @@
|
||||
$(shell pkg-config --libs $(GTK_PACKAGE))
|
||||
|
||||
MOZ_INCLUDES := \
|
||||
- $(shell $(MOZILLA_CONFIG) --cflags)
|
||||
+ $(shell $(MOZILLA_CONFIG) --cflags) \
|
||||
+ $(shell for i in \
|
||||
+ `find $${X11BASE}/lib/thunderbird/include/thunderbird-%%TBVER%% -type d`; \
|
||||
+ do echo -n "-I$$i "; done)
|
||||
|
||||
CXXFLAGS += \
|
||||
-fno-rtti \
|
Loading…
Reference in New Issue
Block a user