version 1.1, 2022/01/28 11:50:12 |
version 1.2, 2022/01/31 10:39:24 |
|
|
|
|
VERS= 1.4.0 |
VERS= 1.4.0 |
DISTNAME= xnedit-${VERS} |
DISTNAME= xnedit-${VERS} |
|
PKGREVISION= 1 |
CATEGORIES= editors |
CATEGORIES= editors |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xnedit/} |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xnedit/} |
|
|
Line 17 WRKSRC= ${WRKDIR}/xnedit |
|
Line 18 WRKSRC= ${WRKDIR}/xnedit |
|
BUILD_TARGET= generic |
BUILD_TARGET= generic |
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PREFIX}/share/doc/xnedit |
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PREFIX}/share/doc/xnedit |
|
|
|
# Use POSIX struct dirent (instead of BSD struct direct) |
|
CFLAGS+= -DUSE_DIRENT |
|
# Workaround for bugs in IRIX Motif library |
|
CFLAGS.IRIX+= -DNO_XMIM |
|
# Workaround for bugs in Solaris Motif library |
|
CFLAGS.SunOS+= -DROWCOLPATCH |
|
|
|
# Honor external CFLAGS |
|
SUBST_CLASSES+= fix-cflags |
|
SUBST_STAGE.fix-cflags= pre-configure |
|
SUBST_MESSAGE.fix-cflags= Fixing Makefile.generic. |
|
SUBST_FILES.fix-cflags= makefiles/Makefile.generic |
|
SUBST_SED.fix-cflags= -e 's,CFLAGS=,CFLAGS+=,' |
|
|
# Search for Xft headers in X11 subdirectory |
# Search for Xft headers in X11 subdirectory |
# Upstream ticket: <https://sourceforge.net/p/xnedit/bugs/20/> |
# Upstream ticket: <https://sourceforge.net/p/xnedit/bugs/20/> |
# Fixed with commit 452499daab227afab372763f7a64ec996c7057db, remove this patch |
# Fixed with commit 452499daab227afab372763f7a64ec996c7057db, remove this patch |