aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2008-10-05 20:47:00 +0800
committerhrs <hrs@FreeBSD.org>2008-10-05 20:47:00 +0800
commit14fbdf46228bc04ccfafc3abefe564f04cff9faf (patch)
tree73303d88e7d2c4af9ba366554ebc0f4cb5c64e60
parent1a6c2ea02f74a1afc92c9a5b85121e3ca7c993dd (diff)
downloadfreebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.tar.gz
freebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.tar.zst
freebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.zip
Fix an issue that the port overrides the existing, modified resource
file. Reported by: Hiroto Kagotani PR: ports/126662
-rw-r--r--japanese/tgif/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/tgif/Makefile b/japanese/tgif/Makefile
index df746c95860d..3c51ac6bc2be 100644
--- a/japanese/tgif/Makefile
+++ b/japanese/tgif/Makefile
@@ -28,8 +28,9 @@ XAPPLRESDIR= lib/X11/ja_JP.eucJP/app-defaults
do-install:
${MKDIR} ${PREFIX}/${XAPPLRESDIR}
${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif.ja-dist
-.if !exists(${PREFIX}/${XAPPLRESDIR}/Tgif)
- ${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif
-.endif
+ if ! test -r ${PREFIX}/${XAPPLRESDIR}/Tgif; then \
+ ${INSTALL_DATA} ${FILESDIR}/Tgif.in \
+ ${PREFIX}/${XAPPLRESDIR}/Tgif; \
+ fi
.include <bsd.port.mk>