diff options
author | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:16:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:16:26 +0000 |
commit | 55c08dec0ba13547e4b856b20d662d4f8fe5cfbb (patch) | |
tree | f863bad372d16b0b5a8f012dece3618040b97737 /games/xtic | |
parent | 2d0092ac113ad6a66819d58ad4e0f451220f1410 (diff) |
Notes
Diffstat (limited to 'games/xtic')
-rw-r--r-- | games/xtic/Makefile | 3 | ||||
-rw-r--r-- | games/xtic/files/patch-aa | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/games/xtic/Makefile b/games/xtic/Makefile index a9adb7295aca..dbb9e9b86d91 100644 --- a/games/xtic/Makefile +++ b/games/xtic/Makefile @@ -18,4 +18,7 @@ USE_IMAKE= yes USE_XPM= yes MAN1= xtic.1 +post-patch: + @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/configure.h + .include <bsd.port.mk> diff --git a/games/xtic/files/patch-aa b/games/xtic/files/patch-aa index 9c8aea70ad7b..193a8f1570f2 100644 --- a/games/xtic/files/patch-aa +++ b/games/xtic/files/patch-aa @@ -5,4 +5,4 @@ * Change this to the correct place, if needed */ -#define XPMLIBRARY -L/usr/local/lib -lXpm -+#define XPMLIBRARY -L/usr/X11R6/lib -lXpm ++#define XPMLIBRARY -L%%X11BASE%%/lib -lXpm |