diff options
author | lesi <lesi@FreeBSD.org> | 2005-06-15 10:42:14 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2005-06-15 10:42:14 +0800 |
commit | 97905f8a7c8bde78045d3d4e0c7381d732562a8e (patch) | |
tree | c48951d08bfad18656a10e4b6dd5d82feb0387f5 /databases/xmysqladmin | |
parent | ecf40d2a6837b577969dd569157afeaf4ab4fa83 (diff) | |
download | freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.gz freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.zst freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.zip |
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Diffstat (limited to 'databases/xmysqladmin')
-rw-r--r-- | databases/xmysqladmin/Makefile | 13 | ||||
-rw-r--r-- | databases/xmysqladmin/pkg-plist | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/databases/xmysqladmin/Makefile b/databases/xmysqladmin/Makefile index 6c71e65bf7af..71aa0f375b1f 100644 --- a/databases/xmysqladmin/Makefile +++ b/databases/xmysqladmin/Makefile @@ -22,4 +22,15 @@ USE_X_PREFIX= yes USE_XPM= yes ALL_TARGET= xmysqladmin -.include <bsd.port.mk> +pre-su-install: + @${MKDIR} ${PREFIX}/include/X11/pixmaps + +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} == xfree86-4 +PLIST_SUB+= NEWMTREE="" +.else +PLIST_SUB+= NEWMTREE="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/databases/xmysqladmin/pkg-plist b/databases/xmysqladmin/pkg-plist index 76ef5587ac90..1cebab36da03 100644 --- a/databases/xmysqladmin/pkg-plist +++ b/databases/xmysqladmin/pkg-plist @@ -1,2 +1,3 @@ bin/xmysqladmin include/X11/pixmaps/mysql.xpm +%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true |