- Support X11BASE properly

PR:		21033
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Steve Price 2000-09-05 01:16:26 +00:00
parent 2d0092ac11
commit 55c08dec0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32263
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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