Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= libxml2 |
3 |
PORTNAME= libxml2 |
4 |
DISTVERSION= 2.9.13 |
4 |
DISTVERSION= 2.9.13 |
5 |
PORTREVISION?= 0 |
5 |
PORTREVISION?= 1 |
6 |
CATEGORIES?= textproc gnome |
6 |
CATEGORIES?= textproc gnome |
7 |
MASTER_SITES= GNOME/sources/${PORTNAME}/${DISTVERSION:R}/ |
7 |
MASTER_SITES= GNOME/sources/${PORTNAME}/${DISTVERSION:R}/ |
8 |
DIST_SUBDIR= gnome2 |
8 |
DIST_SUBDIR= gnome2 |
Lines 17-22
USES+= cmake cpe iconv localbase:ldflags pkgconfig tar:xz
Link Here
|
17 |
CPE_VENDOR= xmlsoft |
17 |
CPE_VENDOR= xmlsoft |
18 |
USE_LDCONFIG= yes |
18 |
USE_LDCONFIG= yes |
19 |
|
19 |
|
|
|
20 |
# Symbol versioning is supported with GNU Autotools but not with CMake. |
21 |
# So enable it by adding options for it to LDFLAGS. |
22 |
LDFLAGS+= -Wl,--version-script=${WRKSRC}/libxml2.syms |
23 |
|
20 |
PLIST_SUB+= LIBVERSION=${DISTVERSION} |
24 |
PLIST_SUB+= LIBVERSION=${DISTVERSION} |
21 |
|
25 |
|
22 |
# Don't build with Python support unless requested |
26 |
# Don't build with Python support unless requested |