aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile12
-rw-r--r--x11-servers/XFree86-4-Server/Makefile12
2 files changed, 16 insertions, 8 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index 12751f78a052..c6bcbba81bc5 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -168,11 +168,15 @@ pre-install:
${MKDIR} ${PREFIX}/lib/X11/kernel
.endif
-post-install:
- strip ${PREFIX}/bin/XFree86
+post-build:
+ @${RM} ${PKGMESSAGE}
.if ${BuildXF86DRM} == "YES"
- @(cd ${.CURDIR}; ${CAT} pkg-message pkg-message-drm > ${PKGMESSAGE})
- @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ @${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE}
.endif
+ @${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
+
+post-install:
+ @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ strip ${PREFIX}/bin/XFree86
.include <bsd.port.post.mk>
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 12751f78a052..c6bcbba81bc5 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -168,11 +168,15 @@ pre-install:
${MKDIR} ${PREFIX}/lib/X11/kernel
.endif
-post-install:
- strip ${PREFIX}/bin/XFree86
+post-build:
+ @${RM} ${PKGMESSAGE}
.if ${BuildXF86DRM} == "YES"
- @(cd ${.CURDIR}; ${CAT} pkg-message pkg-message-drm > ${PKGMESSAGE})
- @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ @${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE}
.endif
+ @${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
+
+post-install:
+ @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ strip ${PREFIX}/bin/XFree86
.include <bsd.port.post.mk>